convert for loop's answers into a vector
显示 更早的评论
aR2=rand(1,30)
for i=1:30
maR2= mean(aR2)
end
How can i convert for loop's answers into a vector?
采纳的回答
更多回答(1 个)
The following is not really a conversion and more a correction;
aR2=rand(1,30);
maR2= mean(aR2)
类别
在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!