need help with conditional statement

Need help with the line that checks for size.

1 comentario

Rik
Rik el 28 de Ag. de 2020
You forgot to respond here, and you forgot to tag your follow up question as homework.

Respuestas (1)

madhan ravi
madhan ravi el 26 de Ag. de 2020
isequal(size(A), size(B))

1 comentario

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

La pregunta está cerrada.

Preguntada:

el 26 de Ag. de 2020

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by