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?

Asked:

Jon
on 1 Jul 2014

Answered:

Jon
on 1 Jul 2014

Community Treasure Hunt

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

Start Hunting!