plot from two vectors not working "not enough arguments"
Afficher commentaires plus anciens
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 commentaires
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
le 29 Août 2017
Adam
le 29 Août 2017
Then like I said, you may have over-ridden the plot function with one of your own.
Réponses (0)
Catégories
En savoir plus sur Line Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!