Why I do get error Matrix dimensions must agree?
t = (0:5:60);
a = (0:10:100);
s = (a.*t.^2)./2;
p1 = plot(a,s);

 채택된 답변

Ameer Hamza
Ameer Hamza 2018년 5월 3일
편집: Ameer Hamza 2018년 5월 3일

0 개 추천

The number of the elements in t and a must be equal. It appears you meant to write
t = 0:5:50;

추가 답변 (0개)

카테고리

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

질문:

2018년 5월 3일

편집:

2018년 5월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by