Applied Optimization - Matlab 'fminsearch' with Two Variables

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024
  • 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.

Комментарии •

  • @rachele8380
    @rachele8380 4 года назад +3

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

    • @joaquinjosue8659
      @joaquinjosue8659 3 года назад

      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 3 года назад

      @Joaquin Josue instablaster =)

    • @joaquinjosue8659
      @joaquinjosue8659 3 года назад

      @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 3 года назад

      @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 3 года назад

      @Joaquin Josue happy to help xD

  • @Zapper-rf5
    @Zapper-rf5 4 года назад +3

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

  • @onlyfreakingsuperheroes
    @onlyfreakingsuperheroes 3 года назад +1

    BLESS! Thank you so much for this!

  • @aldrichwang5639
    @aldrichwang5639 4 года назад +1

    Thanks so much! This video helps a lot.

  • @jyotishmanpathak6021
    @jyotishmanpathak6021 2 года назад +1

    Class Learning experience

  • @74dorset
    @74dorset 2 года назад +1

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

  • @superman007ice
    @superman007ice 4 года назад +1

    Thanks a lot!

  • @gurpritsingh2339
    @gurpritsingh2339 5 лет назад +1

    is it necessary to plot a contour before executing fminsearch?

    • @abdullaalmosalami
      @abdullaalmosalami 5 лет назад

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

  • @AJ-et3vf
    @AJ-et3vf Год назад

    Nice

  • @damianit
    @damianit 6 лет назад

    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 лет назад +10

    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)

  • @andreXx626
    @andreXx626 6 лет назад

    Thanks!!!