Please explain the star marked

1 vue (au cours des 30 derniers jours)
Komal Gaikwad
Komal Gaikwad le 17 Fév 2018
Commenté : Komal Gaikwad le 17 Fév 2018
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 commentaires
Stephen23
Stephen23 le 17 Fév 2018
Modifié(e) : Stephen23 le 17 Fév 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 le 17 Fév 2018
thnx @Stephen cobeldick

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by