필터 지우기
필터 지우기

Function program to optimize multiple variables of an equation

조회 수: 3 (최근 30일)
Joe
Joe 2014년 10월 28일
답변: Roshni Khetan 2017년 10월 1일
I am trying to create a function program that can optimize multiple variables under certain constraints.
I primarily want to have a skeleton program that I can use for any scenario.
For starters lets just look at optimizing the dimensions of an Ibeam:
function f = ibeam(b,h) where b = 0.1:2 , and h = 0.1:2.
This specific program will optimize 'B', 'H', 'b', and 'h' of an I-beam such that the critital force, Fcr , is equal to the yield force of the material, Fy .
Fcr = (pi^2*E*I)/(K*L)^2 where E, K, L are known, and I is in terms of 'b' and 'h'.
Fy = 640,000 (known value)
I = b*H^3/12 + 2(B*h^3/12 + h*B*(H+h)^2/4)

답변 (2개)

Alan Weiss
Alan Weiss 2014년 10월 29일
Do you have a question? If so, I am unable to understand what you are asking.
If you are looking for a program that solves simultaneous nonlinear equations, look at fsolve in Optimization Toolbox. If you are looking for a general optimizer for constrained nonlinear problems, look at fmincon in Optimization Toolbox.
Alan Weiss
MATLAB mathematical toolbox documentation

Roshni Khetan
Roshni Khetan 2017년 10월 1일
did you find a solution? I am looking for a very similar thing

카테고리

Help CenterFile Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by