Please explain the star marked

1 回表示 (過去 30 日間)
Komal Gaikwad
Komal Gaikwad 2018 年 2 月 17 日
コメント済み: 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.
Komal Gaikwad
Komal Gaikwad 2018 年 2 月 17 日
thnx @Stephen cobeldick

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by