Too many input arguments

1 view (last 30 days)
Angie Burke
Angie Burke on 4 Mar 2019
Commented: Angie Burke on 4 Mar 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 Comments
Guillaume
Guillaume on 4 Mar 2019
what is
class(height)
class(femurlength)
?
Angie Burke
Angie Burke on 4 Mar 2019
I have figured it out. I plotted table vs. table instead of maxtrics.
Thanks guys :)

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!