如何利用循环每次取一个数组的前几项?。
이전 댓글 표시
例如,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!