如何利用循环每次取一个数组的前几项?。
显示 更早的评论
例如,A=[1:2000];如何利用循环体,循环第一次取A的前50个数,循环第二次取A的前100个数,循环第三次取A的前150个数,………………直至取完A中的数?请教大神指点。
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 循环及条件语句 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!