how can i write a for loop for g=[2 5 6 8 9]
1 次查看(过去 30 天)
显示 更早的评论
i have g=[2 5 6 8 9]
i want to write a 'for loop' to increment g
g changes with respect to considered system
for i=1:g
for j=1:14
something
end
0 个评论
另请参阅
类别
在 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!