Applied Optimization - Matlab 'fminsearch' with Two Variables

Поділитися
Вставка
  • Опубліковано 27 сер 2018
  • Here's how to use the fminsearch function in Matlab with functions of two variables. I show you how to make a contour plot of a sample function and how to find the minimum point using fminsearch.

КОМЕНТАРІ • 21

  • @user-mr4fw3eg7p
    @user-mr4fw3eg7p 4 роки тому +2

    It was very helpful to teach in detail so that even a beginner like me can do it easily.

  • @rachele8380
    @rachele8380 3 роки тому +2

    I was struggling for over a hour with the first syntax..... thank you so much !

    • @joaquinjosue8659
      @joaquinjosue8659 2 роки тому

      You all prolly dont give a damn but does anybody know of a tool to get back into an instagram account?
      I stupidly lost the login password. I love any tips you can give me

    • @kharisterling550
      @kharisterling550 2 роки тому

      @Joaquin Josue instablaster =)

    • @joaquinjosue8659
      @joaquinjosue8659 2 роки тому

      @Khari Sterling thanks so much for your reply. I got to the site thru google and im waiting for the hacking stuff now.
      I see it takes a while so I will get back to you later when my account password hopefully is recovered.

    • @joaquinjosue8659
      @joaquinjosue8659 2 роки тому

      @Khari Sterling It did the trick and I actually got access to my account again. I'm so happy:D
      Thank you so much, you saved my ass!

    • @kharisterling550
      @kharisterling550 2 роки тому

      @Joaquin Josue happy to help xD

  • @onlyfreakingsuperheroes
    @onlyfreakingsuperheroes 3 роки тому

    BLESS! Thank you so much for this!

  • @aldrichwang5639
    @aldrichwang5639 3 роки тому

    Thanks so much! This video helps a lot.

  • @superman007ice
    @superman007ice 3 роки тому

    Thanks a lot!

  • @andreXx626
    @andreXx626 5 років тому

    Thanks!!!

  • @AJ-et3vf
    @AJ-et3vf Рік тому

    Nice

  • @jyotishmanpathak6021
    @jyotishmanpathak6021 Рік тому

    Class Learning experience

  • @74dorset
    @74dorset 2 роки тому +1

    what is the creepy picture underneath the one of oscar wilde?

  • @gurpritsingh2339
    @gurpritsingh2339 5 років тому

    is it necessary to plot a contour before executing fminsearch?

    • @abdullahalmosalami2373
      @abdullahalmosalami2373 4 роки тому

      The contour plot is just there to help visualize where the max of the function probably should be.

  • @damianit
    @damianit 5 років тому

    How can I visualize the Nelder Mead Algorithm (=fminsearch) with "contour" (and "line")? Nice video btw! Greetings from Germany. Is there a way to adjust the contraction-, expansion- and reflectionparameter?

  • @fk448
    @fk448 5 років тому +9

    For all other lazy guys among us, here is the function:
    f=@(x1,x2) 1/7*sqrt(2500+x1^2) + 1/4*sqrt(400+(x2-x1)^2) +1/2*sqrt(900+(100-x2)^2)