Info

此问题已关闭。 请重新打开它进行编辑或回答。

how to vectorized this loop?

3 次查看(过去 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 个评论
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