No numeric data plot x axis

6 visualizaciones (últimos 30 días)
Tiago Araujo
Tiago Araujo el 17 de Abr. de 2021
Respondida: Tiago Araujo el 21 de Abr. de 2021
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 comentario
Walter Roberson
Walter Roberson el 18 de Abr. de 2021
Duplicate of https://www.mathworks.com/matlabcentral/answers/805161-non-numeric-data-x-plot?s_tid=srchtitle which has an answer

Iniciar sesión para comentar.

Respuestas (1)

Tiago Araujo
Tiago Araujo el 21 de Abr. de 2021

Categorías

Más información sobre Logical en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by