|
On Oct 20, 9:27 pm, "Roger Stafford"
<ellieandrogerxy...@mindspring.com.invalid> wrote:
> "Neel D" <indranee...@gmail.com> wrote in message <i9o430$b1...@fred.mathworks.com>...
> > When i try to create a zeros vector like
> > mat= zeros(7,1);
> > gives me the error
> > ??? Index exceeds matrix dimensions.
>
> - - - - - - - - - -
> I susect that somewhere you have inadvertently named a variable "zeros". You should never use matlab function names or your own function names as the names of variables. This is the kind of trouble that leads to.
>
> Roger Stafford
\n Thanks
|