Parameter optimization for linear equations.
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, Which matlab function/method should I used to find possible solutions to satisfy following equations?
0.213 = x1*exp(-y1/98000);
0.012 = x2*exp(-y2/98000);
0.163 = x3*exp(-y3/98000);
0.152 = x4*exp(-y4/98000);
10^6 < x < 10^13;
70 < y < 150;
regards
Steve
댓글 수: 0
답변 (1개)
Matt J
2012년 10월 14일
편집: Matt J
2012년 10월 14일
You could probably do this by hand or with basic MATLAB arithemtic. Taking the log of both sides of the equations and making the change of variables z=log10(x) transforms this to
log10(LHS)=z-y/98000
6<=z<=13
70<=y<=150
Notice that the equality is just the equation for a line. It is fairly simple arithmetic to figure out where a single line satisfies a set of inequalities. If you want to automate it slightly, you can use this function
Because the above is a system of linear equalities and inequalities, the LCON2VERT function at this link will tell you the vertices of the line segment they describe.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!