Please explain the star marked

IND=find(A_mat ~=0);
V_O=[]; *************************
for h=1:length(IND)
V_O=[V_O IND(h)*ones(1,A_mat(IND(h)))];**************

2 comentarios

Stephen23
Stephen23 el 17 de Feb. de 2018
Editada: Stephen23 el 17 de Feb. de 2018
These are basic MATLAB concepts. You can learn them by doing the introductory tutorials, which are highly recommended for all beginners:
and by reading the find, length, and ones documentation.
Komal Gaikwad
Komal Gaikwad el 17 de Feb. de 2018
thnx @Stephen cobeldick

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Networks en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 17 de Feb. de 2018

Comentada:

el 17 de Feb. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by