"Maria" <mariadelauretis@gmail.com> wrote in message
news:mqck8b$t4l$1@newscl01ah.mathworks.com...
*snip*
> Then I did it on the command windows:
>
> x = 1:2:20
>
> x =
>
> 1 3 5 7 9 11 13 15 17 19
>
>>> k = find(x==13)
>
> k =
>
> 0
Clear the variable named find that you've created in your base workspace.
When a variable named find exists, that line is considered to be indexing
into that variable not calling the FIND function.
--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com