error in CreateInitialEmpires file in ica?

i m using ica to optimize 3 parameter.but i have this error Error using - Matrix dimensions must agree.
Error in CreateInitialEmpires (line 12) AllImperialistsPower = 1.3 * max(AllImperialistsCost) - AllImperialistsCost;
why i have this error?how can i fix this its really urgent

2 commentaires

Star Strider
Star Strider le 27 Avr 2015
It sounds like a fascinating problem, but we have no idea what your function is doing. Perhaps attaching it (use the ‘paperclip’ or ‘staple’ icon and follow the directions) will help us find the problem with your code.

Réponses (0)

Cette question est clôturée.

Tags

Question posée :

le 27 Avr 2015

Clôturé :

le 6 Mai 2015

Community Treasure Hunt

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

Start Hunting!

Translated by