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 CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by