need help with conditional statement

Need help with the line that checks for size.

1 件のコメント

Rik
Rik 2020 年 8 月 28 日
You forgot to respond here, and you forgot to tag your follow up question as homework.

回答 (1 件)

madhan ravi
madhan ravi 2020 年 8 月 26 日

0 投票

isequal(size(A), size(B))

1 件のコメント

madhan ravi
madhan ravi 2020 年 8 月 26 日
Feed that to assert() with a custom error message.
doc assert

この質問は閉じられています。

質問済み:

2020 年 8 月 26 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by