what does this command means?

답변 (2개)

CS Researcher
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
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에 대해 자세히 알아보기

제품

태그

아직 태그를 입력하지 않았습니다.

질문:

2016년 5월 5일

답변:

2016년 5월 5일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by