>> x = 1900:10:2000;
y = [75 91 105 123.5 131 150 179 203 226 249 281.5];
bar(x,y)
this is a example problem in MATLAB i am getting belllow error,
Error using bar
Too many input arguments.
i can use other plots for above data can any one tell me reason thanks in advance
>>

답변 (1개)

ME
ME 2019년 12월 11일

0 개 추천

Is that the exact piece of code you used? On my computer (and Matlab version R2018a) that runs absolutely fine.

댓글 수: 1

yasasvi Thadiboyina
yasasvi Thadiboyina 2019년 12월 11일
yes i have used exact code in Matlab version R2017b
i dont get ant errors for plot(x,y) or any other plots only error in bar(x,y) and hist(x,y)

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

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2019년 12월 11일

댓글:

2019년 12월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by