what does this command means?

Answers (2)

CS Researcher
CS Researcher on 5 May 2016
Edited: CS Researcher on 5 May 2016
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 on 5 May 2016
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.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Products

Tags

No tags entered yet.

Asked:

on 5 May 2016

Answered:

on 5 May 2016

Community Treasure Hunt

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

Start Hunting!