how to solve ?Error using/Matrix dimensions must agree.'?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Alvaro Mª Zumalacarregui Delgado
il 19 Feb 2021
Commentato: Jon
il 19 Feb 2021
I am working with Matlab app designer, while i was trying to run the interface the program send this message, what is the proble in my code? ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/525154/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/525154/image.png)
2 Commenti
Risposta accettata
Jon
il 19 Feb 2021
Try replacing the line assigning x2 with the following using ./ to get element by element division
y2 = K./(exp((K*x-K*C2))-b);
2 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!