what does this command means?

Respuestas (2)

CS Researcher
CS Researcher el 5 de Mayo de 2016
Editada: CS Researcher el 5 de Mayo de 2016

0 votos

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 el 5 de Mayo de 2016

0 votos

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.

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Productos

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 5 de Mayo de 2016

Respondida:

el 5 de Mayo de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by