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

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