Too many input arguments

1 visualización (últimos 30 días)
Angie Burke
Angie Burke el 4 de Mzo. de 2019
Comentada: Angie Burke el 4 de Mzo. de 2019
corr = importfile1('corr.txt', 1, 10);
height = corr(:, 1);
femurlength = corr(:,2);
plot(height, femurlength)
Error:
Error using tabular/plot
Too many input arguments.
Error in task3 (line 4)
plot(height, femurlength)
  3 comentarios
Guillaume
Guillaume el 4 de Mzo. de 2019
what is
class(height)
class(femurlength)
?
Angie Burke
Angie Burke el 4 de Mzo. de 2019
I have figured it out. I plotted table vs. table instead of maxtrics.
Thanks guys :)

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by