help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

deleting columns in array with zeros


From: Rick T
Subject: deleting columns in array with zeros
Date: Wed, 21 Mar 2012 11:12:06 -1000

Greetings

I have an array that starts of with zeros and continues into other numbers
I would like to delete the columns in the array that start off with zero but keep the other numbers

example of a column array below:

    0 0 0 0 0 2 4 6 8 0 1 2

Answer of column array would like like

    2 4 6 8 0 1 2

I'm using octave 3.4.2
Thanks

--
-

reply via email to

[Prev in Thread] Current Thread [Next in Thread]