why its giving me this error ????
1 view (last 30 days)
Show older comments
Anyone know why its giving me this error
>> [x,y] = meshgrid(-2:0.2:+2);
Error: File: meshgrid.m Line: 1 Column: 27 Unexpected MATLAB expression.
0 Comments
Answers (1)
Walter Roberson
on 25 Nov 2013
Check
which -all meshgrid
and see if you have accidentally introduced your own meshgrid.m
Also is it possible that you are running an older MATLAB but have the meshgrid for a more modern MATLAB on your MATLAB path?
2 Comments
Walter Roberson
on 26 Nov 2013
Sorry, I do not understand your answer.
What does
which -alll meshgrid
show for you?
Which MATLAB version are you using?
See Also
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!