Error using plot Vectors must be the same length.
이전 댓글 표시
Hi everyone,
How can I change the size of Cfit in line 140 of the attached to double(30 x 8), in the attached code. When I run the code, I get error message:
Error using plot
Vectors must be the same length.
Error in fitting (line 145)
plot(tv,Cfit)
채택된 답변
추가 답변 (1개)
KSSV
2018년 10월 3일
0 개 추천
The dimensions of tv are 1*30 and Cfit are 1*8..how you can plot them? You cannot...to plot the dimensions of the inputs should be same.
카테고리
도움말 센터 및 File Exchange에서 Linear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!