How to number permutation values, 11, 12, 13, 14, etc in "for" loop to be sequentially printed as 1, 2, 3 etc?
1 次查看(过去 30 天)
显示 更早的评论
Hi, I am running my simulation using "for" loop. The problem is that I have "i" and "j" orders on which I refer to each value, like 11, 12, 13, 14, etc. I need to, instead, mark them as 1, 2, 3, 4, 5, etc. Is there anyway to do that? Thank you very much.
2 个评论
Walter Roberson
2017-11-12
So for i = 1, just j should be printed? And what should be printed when i = 2?
采纳的回答
更多回答(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!