Using fminsearch

  Рет қаралды 39,696

Dr Gregory Reeves

Dr Gregory Reeves

Күн бұрын

In this screencast, we will look at two simple examples of using fminsearch to find the minimum of a scalar-valued function of one or two variables. In the second example, we also pass extra parameters to our function.

Пікірлер: 4
@doc_microscope
@doc_microscope 6 жыл бұрын
Good afternoon, i have to obtain the power Pp0, Pp1, Pp2 and Pp3 for a gain optimization. The equations are the following: G1=exp(-alpha_s1*L+a1*Pp0+b1*Pp1+c1*Pp2+d1*Pp3); G2=exp(-alpha_s2*L+a2*Pp0+b2*Pp1+c2*Pp2+d2*Pp3); G3=exp(-alpha_s3*L+a3*Pp0+b3*Pp1+c3*Pp2+d3*Pp3); G1=exp(-alpha_s4*L+a4*Pp0+b4*Pp1+c4*Pp2+d4*Pp3); a1,a2,a3,a4,b1,b2,b3,b4,c1,c2,c3,c4,d1,d2,d3,d4,L and alpha_s1, alpha_s2,alpha_s3,alpha_s4 are constants. How can i implement it?
@doc_microscope
@doc_microscope 6 жыл бұрын
My objective function is that said you ;). The G_target is a value chosen by me, for the optimization i have to set G1=G2=G3=G4=G_target. How i choose the initial guess?
@mamsf
@mamsf 3 жыл бұрын
can't anyone just explain how to do the most important thing of showing the x output at each iteration?
@GregReeves1520
@GregReeves1520 3 жыл бұрын
Thanks for your comment. Typically, people are interested in only the final output, not the value of x at each iteration. And unfortunately, as far as I can tell, the value of x at each iteration is not a possible output of fminsearch. Can you describe why that's what you'd want? Thanks!
Regression with MATLAB fmincon
17:52
APMonitor.com
Рет қаралды 30 М.
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 2,9 МЛН
Bike vs Super Bike Fast Challenge
00:30
Russo
Рет қаралды 23 МЛН
ДОКАЗАЛ ЧТО НЕ КАБЛУК #shorts
00:30
Паша Осадчий
Рет қаралды 1,9 МЛН
Using fminsearch together with fsolve to minimize a function
11:51
Dr Gregory Reeves
Рет қаралды 4,1 М.
Using fsolve with parameters
8:32
Dr Gregory Reeves
Рет қаралды 14 М.
Applied Optimization - Matlab 'fminsearch' with Two Variables
9:23
Nonlinear Optimization
15:32
Shobina Ahmed
Рет қаралды 63 М.
Lecture: Data Fitting with Matlab
39:15
AMATH 301
Рет қаралды 54 М.
Applied Optimization - Matlab 'fminsearch' with One Variable
9:24
Fitting Custom Trendlines in MATLAB with fminsearch
8:09
Vincent Stevenson
Рет қаралды 6 М.
MATLAB Session -- Golden Section Search
17:56
EMPossible
Рет қаралды 29 М.
MATLAB Nonlinear Optimization with fmincon
14:26
APMonitor.com
Рет қаралды 239 М.