what is wrong with this code?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi
I get the following error when I run this code:
''Error using /
Matrix dimensions must agree.''
0 Commenti
Risposte (1)
Torsten
il 8 Nov 2022
Most probably, you will have to change all / and * and ^ to ./ and .* and .^ in your code (elementwise operations instead of matrix operations).
0 Commenti
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!