Info
This question is closed. Reopen it to edit or answer.
need help with conditional statement
1 view (last 30 days)
Show older comments
Need help with the line that checks for size.
1 Comment
Rik
on 28 Aug 2020
You forgot to respond here, and you forgot to tag your follow up question as homework.
Answers (1)
madhan ravi
on 26 Aug 2020
isequal(size(A), size(B))
1 Comment
madhan ravi
on 26 Aug 2020
Feed that to assert() with a custom error message.
doc assert
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!