plot from two vectors not working "not enough arguments"
显示 更早的评论
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 个评论
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
2017-8-29
Adam
2017-8-29
Then like I said, you may have over-ridden the plot function with one of your own.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!