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!