How can I get out the row numbers in where there are numbers except for zeroes?

Hi!
I've got a column vector and it contains a lot of zeroes and some other numbers. I'm interested in which rows the numbers are in, so how can I do this?

Etiquetas

Preguntada:

Jon
el 1 de Jul. de 2014

Respondida:

Jon
el 1 de Jul. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by