採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 10 月 1 日

0 投票

n=4;
m=4;
a=zeros(m,n)
a(1:m,1)=1:m
a(1,1:n)=1:n
for ii=2:m
for jj=2:n
a(ii,jj)=a(ii,jj-1)*a(ii-1,jj)
end
end

その他の回答 (1 件)

Austin
Austin 2013 年 10 月 1 日

0 投票

Your script works perfectly! Thanks a lot Azzi Abdelmalek.!

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

質問済み:

2013 年 10 月 1 日

編集済み:

2013 年 10 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by