Using ‘fminsearch’ to Minimize a Function Specified by a File with Extra Parameters

preview_player
Показать описание
In this video we show 4 different ways to use/call Matlab’s ‘fminsearch’ function to perform unconstrained optimization.

Topics and timestamps:
0:00 – Introduction
2:23 – Defining function to be optimized
6:30 – fminsearch with a function specified by a file
10:17 – fminsearch with an anonymous function
13:13 – fminsearch with an anonymous function with extra parameters
19:13 – fminsearch with a function specified by a file with extra parameters

#matlab

#optimization #fminsearch

Рекомендации по теме
Комментарии
Автор

AA516: I am not the best at coding and these matlab videos have really helped me refine my skills to complete our desired tasks. Thanks again!

Kumky
Автор

AA516: Thanks for the useful lesson Professor! Your use of switch / cases in the script peaked my interest and I will definitely take advantage of that instead of using if(true/false) statements when making matlab scripts for future homework.

rowellcastro
Автор

AA 516 - It's really cool that we get the same results even with four different ways by using ‘fminsearch’ function

manitaregmi
Автор

AE512: I always found optimization a really interesting field. It seems so adjacent to fields like machine learning, and I hope to learn more about that someday.

bsgove
Автор

Thank you, another great video that came along at a perfect time, as I've been looking into this topic over the last two days....really appreciate the work you put into these Dr Lum.

wiloberlies
Автор

Thank you very much for this video it helped me to understand the basics of how to call a function in Matlab, I think these can also be applied to other functions!!
P.S: "Where did I miss the parenthesis" ...This question is so common ahaha

alyax
Автор

AA516: Great video it is always nice to learn new Matlab techniques

milesrobertroane
Автор

AA516
Great lecture - in addition to fminsearch, I also learned a bunch of other Matlab skills for the first time, like "switch" and smart indent haha

boeingscreamliner
Автор

Excellent video, thank you for putting this together. Also love your passion!

I used Case 4 extensively in a very useful application at work, and it's become a standard for us.

r_rho
Автор

AA516: Great to see some use cases of fminsearch

yaffetbedru
Автор

Jason-AE512: It suggests a practical tutorial focusing on MATLAB's 'fminsearch' function, specifically tailored for those looking to optimize a function defined externally with additional parameters. This could be highly beneficial for students or professionals needing a concise guide on enhancing computational methods in their projects.

WalkingDeaDJ
Автор

AE512: can definitely see the power of fminsearch!

zaneyosif
Автор

AE512: Useful to know this function exists for other optimization problems I have in my engineering career

chayweaver.
Автор

AE512: Thanks for the refresher on this for 512.

philipcasey
Автор

thank you, sir. I have a question, I would like to find the errors in fitting parameters using Monte Carlo

karimverelche
Автор

What would be advantages of fminsearch over lsqnonlin, and vice versus?

TheFamliy
Автор

Good Video! I jusst wonder how that would work out for an optimization of a simulink model.

yzhofxj
Автор

Great video! Could you do a video on fmincon, or fgoalattain?

pedrocalorio
Автор

Hi Christopher, excellent video. Thanks. Our of interest, what do you think of the optimisation functionality in mathematics ( minus simulink). I appreciate that MATLAB is primarily a numerical simulation model, as opposed to a symbolic one, but I'm curious at what point you'd switch over to MATLAB. Thanks W

williammillar
Автор

I need ur help please in Simulink .. Please send me

omer-ayed