Too many input arguments

조회 수: 1 (최근 30일)
Angie Burke
Angie Burke 2019년 3월 4일
댓글: Angie Burke 2019년 3월 4일
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
Guillaume
Guillaume 2019년 3월 4일
what is
class(height)
class(femurlength)
?
Angie Burke
Angie Burke 2019년 3월 4일
I have figured it out. I plotted table vs. table instead of maxtrics.
Thanks guys :)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by