Extract indices of vector?

조회 수: 5 (최근 30일)
chaaru datta
chaaru datta 2023년 10월 23일
댓글: chaaru datta 2023년 10월 23일
Hello all, In my research work, I came across a stiuation where I want to extract indices of filled positions of a coulmn vector.
For e.g., B is a vector of dimension 8 X 1 wherein any two rows are non-zero while others are zero.
Then how can we extract the indices of non-zero row in MATLAB.
Any help in this regard will be highly appreciated.

채택된 답변

Stephen23
Stephen23 2023년 10월 23일
  댓글 수: 1
chaaru datta
chaaru datta 2023년 10월 23일
Thanks a lot sir for your response.

댓글을 달려면 로그인하십시오.

추가 답변 (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