I am trying to plot x and y with y being the only unknown but I don’t what is wrong in my code please help
古いコメントを表示

1 件のコメント
KSSV
2021 年 1 月 11 日
Don;t attach your code as image snippet.....copy paste your code here.
採用された回答
その他の回答 (1 件)
KSSV
2021 年 1 月 11 日
0 投票
- Your x is an array
- Where as theta is only a scalar.
- You have to make theta and x both arrays of same size.
- You need to use element by element operations.
カテゴリ
ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!