フィルターのクリア

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 Center および File ExchangeMultidimensional Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by