How to create for loop?
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
For example i have vector containing 1000 random vector so how do i create for loop that shows each of the 1000 elements between 0 and 0.3, between 0.3+ and 0.6, between 0.6+ and 1.
0 个评论
回答(1 个)
madhan ravi
2020-7-13
doc rand % please read it
2 个评论
Dhruv Patel
2020-7-13
madhan ravi
2020-7-13
编辑:madhan ravi
2020-7-13
Use logical operator > , & <
doc >=
doc <
doc &
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!