No numeric data plot x axis
Afficher commentaires plus anciens
I am trying to solve this:
syms X L
X = 0:L/16:L;
Y = 1 + 2*X;
plot (X,Y);
And appears the error:
Error using plot
Data must be numeric, datetime, duration or an array convertible to double.
1 commentaire
Walter Roberson
le 18 Avr 2021
Duplicate of https://www.mathworks.com/matlabcentral/answers/805161-non-numeric-data-x-plot?s_tid=srchtitle which has an answer
Réponses (1)
Tiago Araujo
le 21 Avr 2021
0 votes
Catégories
En savoir plus sur 2-D and 3-D 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!