hi please i cant solve this problem
Generate a matrix that each element is a function of its number of row and number of column as follow A (i ,j) = i^3 + j^3 .

1 件のコメント

José-Luis
José-Luis 2013 年 12 月 4 日
  • doc for
  • doc ind2sub

サインインしてコメントする。

 採用された回答

Matt J
Matt J 2013 年 12 月 4 日

1 投票

doc ndgrid
doc bsxfun

4 件のコメント

mohamed
mohamed 2013 年 12 月 4 日
i dont really understand
José-Luis
José-Luis 2013 年 12 月 4 日
What have you tried so far? Your question sounds a lot like homework and people are not likely give you a straight answer.
mohamed
mohamed 2013 年 12 月 4 日
is is a H.W question and so far i i dont understand it
Matt J
Matt J 2013 年 12 月 5 日
Do you understand why the following produces the output that it does? If so, you should think about how modifying it could help you.
>> bsxfun(@plus,[20 30 40 50].',[1 2 3])
ans =
21 22 23
31 32 33
41 42 43
51 52 53

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

タグ

質問済み:

2013 年 12 月 4 日

コメント済み:

2013 年 12 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by