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.

Respuestas (3)

Alan Weiss
Alan Weiss el 21 de Dic. de 2016

0 votos

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 comentario

Morten Munk
Morten Munk el 22 de Dic. de 2016
many thanks for your help I managed solve it
Morten Munk
Morten Munk el 22 de Dic. de 2016

0 votos

thanks I will try that the video was the only thing I could find
Morten Munk
Morten Munk el 22 de Dic. de 2016

0 votos

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

La pregunta está cerrada.

Preguntada:

el 21 de Dic. de 2016

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by