"M K" <maha_k@mathworks.com> wrote in message <hd6q5h$ri9$1@fred.mathworks.com>...
> How does one remove zeros from an array of numbers. For example f
>
> x=[0
> 0
> 0
> 0
> 1
> 2
> 3
> 0
> 0
> 0];
>
x=nonzeros(x);
Tags for this Thread
Add a New Tag:
Separated by commas
Ex.: root locus, bode
What are tags?
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.