Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how to vectorized this loop?

2 ビュー (過去 30 日間)
nelson
nelson 2017 年 10 月 10 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
for k=1:0.5:10;
for a=1:0.5:10;
nump(i,:) =k*a;
denp(i,:) =[1 a 0];
i=i+1;
end
end
  3 件のコメント
per isakson
per isakson 2017 年 10 月 10 日
Jan
Jan 2017 年 10 月 10 日
This is very similar to your former question (link posted by Per Isakson). You can apply the same methods here also. If you have problems with this, please post what you have tried so far.

回答 (0 件)

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by