필터 지우기
필터 지우기

Is this expression true?

조회 수: 2 (최근 30일)
Mary Jon
Mary Jon 2013년 9월 21일
D(i, j)=45.6*10^(-32) If not true,what modification must I do?
  댓글 수: 5
Simon
Simon 2013년 9월 21일
You know that "i-1" is 0 if i is 1. This is not allowed in matlab.
Mary Jon
Mary Jon 2013년 9월 21일
loop starting from 2, therefor 2-1=1. allowed in matlab

댓글을 달려면 로그인하십시오.

답변 (1개)

Simon
Simon 2013년 9월 21일
You write exponential notation in matlab as
D(i,j) = 45.6e-32
  댓글 수: 3
Simon
Simon 2013년 9월 21일
What do you want to set? With
D(i,j)
you index a matrix entry. You should describe your whole problem.
Mary Jon
Mary Jon 2013년 9월 21일
I want give these variables E(i, j),E(i+1, j),E(i-1, j),E(i, j+1),E(i, j-1) values as shown in pdf attachment

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by