Remove 'Matrix dimensions must agree'

NAOI_tr=NAOI-Trend; matrix dimensions must agree.

1 Commento

What about it? How do you seriously expect any help when you give no information on anything?!
NAOI and Trend clearly have incompatible dimensions. Make them have the same dimensions and the error will be removed. How you do that in your particular case I have no idea.
Use the debugger to find out what size they are.

Accedi per commentare.

Risposte (1)

Star Strider
Star Strider il 8 Dic 2017

0 voti

The bsxfun (link) function may be able to help you.

Categorie

Richiesto:

il 8 Dic 2017

Risposto:

il 8 Dic 2017

Community Treasure Hunt

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

Start Hunting!

Translated by