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!