Hi! I'm pretty new to Matlab and am just trying to plot two columns of an imported table onto a graph. The code I type is:
plot (filename (:,2) filename (:,11))
When I do this, this message shows up below:
"Error using tabular/plot
Too many input arguments."
What does this mean, and how can I fix it?

댓글 수: 1

Stephen23
Stephen23 2019년 3월 7일
As well as using a badly named variable, your code is missing a comma:
plot(filename(:,2),filename(:,11))
^ missing in your code

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

 채택된 답변

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2019년 3월 7일

댓글:

2019년 3월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by