need help with conditional statement

Need help with the line that checks for size.

1 Kommentar

Rik
Rik am 28 Aug. 2020
You forgot to respond here, and you forgot to tag your follow up question as homework.

Antworten (1)

madhan ravi
madhan ravi am 26 Aug. 2020

0 Stimmen

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

1 Kommentar

Feed that to assert() with a custom error message.
doc assert

Diese Frage ist geschlossen.

Gefragt:

am 26 Aug. 2020

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by