Extract indices of vector?

4 visualizaciones (últimos 30 días)
chaaru datta
chaaru datta el 23 de Oct. de 2023
Comentada: chaaru datta el 23 de Oct. de 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.

Respuesta aceptada

Stephen23
Stephen23 el 23 de Oct. de 2023
  1 comentario
chaaru datta
chaaru datta el 23 de Oct. de 2023
Thanks a lot sir for your response.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by