Please explain the star marked

1 次查看(过去 30 天)
Komal Gaikwad
Komal Gaikwad 2018-2-17
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 个评论
Stephen23
Stephen23 2018-2-17
编辑:Stephen23 2018-2-17
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by