Info
此问题已关闭。 请重新打开它进行编辑或回答。
need help with conditional statement
3 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/352091/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/352094/image.jpeg)
Need help with the line that checks for size.
1 个评论
Rik
2020-8-28
You forgot to respond here, and you forgot to tag your follow up question as homework.
回答(1 个)
madhan ravi
2020-8-26
isequal(size(A), size(B))
1 个评论
madhan ravi
2020-8-26
Feed that to assert() with a custom error message.
doc assert
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!