what does this command means?
이전 댓글 표시
답변 (2개)
CS Researcher
2016년 5월 5일
편집: CS Researcher
2016년 5월 5일
0 개 추천
Assuming Training_String is of size M x N, the command runs a for loop where i goes from 1 to N. Basically a loop which runs N times.
Image Analyst
2016년 5월 5일
0 개 추천
The size() function gives the length of the dimension you give as the second argument. 2 means columns. So the loop will do as many iterations as there are columns in the Training_String array.
카테고리
도움말 센터 및 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!