Filter löschen
Filter löschen

Extract indices of vector?

5 Ansichten (letzte 30 Tage)
chaaru datta
chaaru datta am 23 Okt. 2023
Kommentiert: chaaru datta am 23 Okt. 2023
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.

Akzeptierte Antwort

Stephen23
Stephen23 am 23 Okt. 2023
  1 Kommentar
chaaru datta
chaaru datta am 23 Okt. 2023
Thanks a lot sir for your response.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by