Genetic Algorithm
조회 수: 2 (최근 30일)
이전 댓글 표시
In solving a problem using ga, I'll use this command :ga(fitnessfcn,nvars,A,b,Aeq,beq,LB,UB,nonlcon,options). My question is that: Can matlab accept matrix A to be of size(2616 X 1130) and b of size (1130 X 1) or I'll have Java.lang out of memory error???
댓글 수: 0
채택된 답변
the cyclist
2011년 3월 23일
This document has detailed memory info:
Do you have MATLAB installed? If so, you can just create a variable that large, and empirically see if it works.
추가 답변 (2개)
the cyclist
2011년 3월 23일
Might depend on your machine and operating system. I have no problem with that size array on my Mac running 64-bit MATLAB. I suspect 32-bit would be a problem, but I forget the exact size limitation.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!