フィルターのクリア

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 Center および File ExchangeNonlinear Optimization についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by