Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

need help with conditional statement

3 visualizzazioni (ultimi 30 giorni)
Steve Avilesmejia
Steve Avilesmejia il 26 Ago 2020
Chiuso: MATLAB Answer Bot il 20 Ago 2021
Need help with the line that checks for size.
  1 Commento
Rik
Rik il 28 Ago 2020
You forgot to respond here, and you forgot to tag your follow up question as homework.

Risposte (1)

madhan ravi
madhan ravi il 26 Ago 2020
isequal(size(A), size(B))
  1 Commento
madhan ravi
madhan ravi il 26 Ago 2020
Feed that to assert() with a custom error message.
doc assert

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by