Can fmincon (optimization tool) be used over one variable.?

I am taking uniform thickness of a singly curved cylindrical Shell as a design variable for optimization with Static(Vertical deflection) and dynamic(frequency) as Constraints.

 採用された回答

Alan Weiss
Alan Weiss 2013 年 2 月 4 日

0 投票

Yes.
However, I am not sure that this is the answer you wanted. Feel free to ask again with more detail. Meanwhile, you might be able to answer some of your own questions by looking at examples in the documentation.
Alan Weiss
MATLAB mathematical toolbox documentation

4 件のコメント

Deviprakash Upadhyaya
Deviprakash Upadhyaya 2013 年 2 月 5 日
Thank you Alan.Yes if i have any doubt regarding constrained optimization will ask you with more details.
Deviprakash Upadhyaya
Deviprakash Upadhyaya 2013 年 2 月 11 日
Alan Weiss, it will help me a lot if you can give a example for single variable constrained optimization using fmincon.
Alan Weiss
Alan Weiss 2013 年 2 月 11 日
Usually a single-variable problem falls in the domain of fminbnd. But if you really want to use fmincon:
lb = 5;
ub = 15;
x0 = 10;
[x,fval] = fmincon(@sin,x0,[],[],[],[],lb,ub)
Alan Weiss
MATLAB mathematical toolbox documentation
Deviprakash Upadhyaya
Deviprakash Upadhyaya 2013 年 2 月 12 日
Thank you Alan.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with Optimization Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by