Too many input arguments

1 Ansicht (letzte 30 Tage)
Angie Burke
Angie Burke am 4 Mär. 2019
Kommentiert: Angie Burke am 4 Mär. 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 Kommentare
Guillaume
Guillaume am 4 Mär. 2019
what is
class(height)
class(femurlength)
?
Angie Burke
Angie Burke am 4 Mär. 2019
I have figured it out. I plotted table vs. table instead of maxtrics.
Thanks guys :)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by