non linear optimization.

조회 수: 8 (최근 30일)
Chan
Chan 2017년 5월 3일
댓글: Torsten 2017년 5월 4일
CT_mod= (alpha).*(((tetaT).*den_T.*pi.*(DT.^2).*LT)./4).*c_T;
CH1_mod = ((1-alpha).*(((tetaT).*den_T.*pi.*(DT.^2).*LT)./4).*c_T)+((beta).*((tetaH).*den_H.*(pi./12).*LH.*((DT.^2)+(DC.^2)+(DT.*DC))).*c_H);
CH2_mod = (1-beta-gama).*((tetaH).*den_H.*(pi/12).*LH.*((DT.^2)+(DC.^2)+(DT.*DC))).*c_H;
CH3_mod = ((1-epsi).*((((tetaC).*den_C.*pi.*(DC.^2).*LC)./4).*c_C))+((gama).*((tetaH).*den_H.*(pi/12).*LH.*((DT.^2)+(DC.^2)+(DT.*DC))).*c_H);
CC_mod = (epsi).*((((tetaC).*den_C.*pi.*(DC.^2).*LC)./4).*c_C);
I want to solve above equations for alpha,beta,gama,epsi,tetaT,tetaH,tetaC, remaining CT_mod,CH1_mod,CH2_mod,CH3_mod,CC_mod,DT,DC,LH,LT,LC are known parameter. Above equations are repeated for 8 different objects. so, total around 40 equations. I tried different possible ways to solve, But I couldn't. I want to minimise above equations, i.e minimising RMSE, finding better unknowns. could someone help me to figure it out?
  댓글 수: 1
Chan
Chan 2017년 5월 4일
could anyone help me with the solution, please?

댓글을 달려면 로그인하십시오.

답변 (1개)

Torsten
Torsten 2017년 5월 4일
Use "lsqnonlin".
Best wishes
Torsten.
  댓글 수: 2
Chan
Chan 2017년 5월 4일
Thank you Torsten for your reply, could you please elaborate your answer because I tried with lsqnonlin also. I'm confused with constrain and unconstrains in the syntax.
Torsten
Torsten 2017년 5월 4일
Please post your MATLAB code so far.
Best wishes
Torsten.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Nonlinear Least Squares (Curve Fitting)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by