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

Star Strider
Star Strider 2015년 4월 27일
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.

답변 (0개)

이 질문은 마감되었습니다.

태그

질문:

2015년 4월 27일

마감:

2015년 5월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by