Have have problem with my optimisation model

Hey i am new to matlab, and I have tried to make the totorial for Mathematical Modeling with Optimization, but then I type the command it says " Undefined function or variable 'f'. I have attach a picture of my editor and command.
hope some one can help me.

回答 (3 件)

Alan Weiss
Alan Weiss 2016 年 12 月 21 日

0 投票

You might find it easier to run the problem using the documentation version of the tutorial rather than trying to correctly transcribe the video. If that is what you are doing--it just seemed that way to me.
Alan Weiss
MATLAB mathematical toolbox documentation

1 件のコメント

Morten Munk
Morten Munk 2016 年 12 月 22 日
many thanks for your help I managed solve it
Morten Munk
Morten Munk 2016 年 12 月 22 日

0 投票

thanks I will try that the video was the only thing I could find
Morten Munk
Morten Munk 2016 年 12 月 22 日

0 投票

hey Alan hope you can help me again I get an error in my optimoptions function, but in a preprogramed, i have attached a screenshot

この質問は閉じられています。

質問済み:

2016 年 12 月 21 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by