for and if statements
2 次查看(过去 30 天)
显示 更早的评论
I need help generating a code that does the following
For and if Generate an array of 10 random numbers between 1 and 100. Then find out how many of the elements are between 1 and 25, how many between 25 and 75 and how many between 75 and 100.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!