what is wrong with this code?
1 ビュー (過去 30 日間)
表示 古いコメント
Hi
I get the following error when I run this code:
''Error using /
Matrix dimensions must agree.''
0 件のコメント
回答 (1 件)
Torsten
2022 年 11 月 8 日
Most probably, you will have to change all / and * and ^ to ./ and .* and .^ in your code (elementwise operations instead of matrix operations).
0 件のコメント
参考
カテゴリ
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!