loop for
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I have this loop
For i=1:5
a=2*i;
end
I need to stock the value of (a) in the vector for each value of (i)
Please help me. Thanks in advance
1 个评论
Image Analyst
2012-2-4
Have you gone through the "Getting Started" documentation yet? You need to or else you'll have a thousand other very basic questions like this.
回答(1 个)
另请参阅
类别
在 Help Center 和 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!