plot from two vectors not working "not enough arguments"
Show older comments
i have a 3D array called 'arr' which was created from parsing a text table i wnat to plot a single 2D cell from it. when i try to do the following i get an error "Error using plot Not enough input arguments."
why its happening?
Thanks
phase=arr{1}{1};
amp=arr{1}{2};
plot(phase,amp);
3 Comments
If you put each statement on its own line you can step in with the debugger and see what the variables contain.
You may also have over-ridden the plot function. What does
which plot
show?
fima v
on 29 Aug 2017
Adam
on 29 Aug 2017
Then like I said, you may have over-ridden the plot function with one of your own.
Answers (0)
Categories
Find more on Annotations 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!