need help with conditional statement
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens


Need help with the line that checks for size.
1 commentaire
Rik
le 28 Août 2020
You forgot to respond here, and you forgot to tag your follow up question as homework.
Réponses (1)
madhan ravi
le 26 Août 2020
isequal(size(A), size(B))
1 commentaire
madhan ravi
le 26 Août 2020
Feed that to assert() with a custom error message.
doc assert
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!