how to solve ?Error using/Matrix dimensions must agree.'?
1 view (last 30 days)
Show older comments
Alvaro Mª Zumalacarregui Delgado
on 19 Feb 2021
Commented: Jon
on 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?
2 Comments
Accepted Answer
Jon
on 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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!