Polynomial regression in MATLAB

Поділитися
Вставка
  • Опубліковано 22 лют 2011
  • This screencast discusses polynomials an their representation in MATLAB as vectors of coefficients, the POLYVAL command for evaluating polynomials, the POLYFIT command for finding the polynomial of best fit through a set of paired data, and how to plot the polynomial regression line obtained through POLYFIT on top of a scatterplot.

КОМЕНТАРІ • 70

  • @carnac333
    @carnac333 8 років тому

    These videos are perfect for starting up with MatLab. These are a HUGE help for me. Big thank you from Finland!

  • @SamuelWattOnline
    @SamuelWattOnline 10 років тому +3

    Really appreciate these tutorials, very clear and concise.

  • @oldaccountyeet5765
    @oldaccountyeet5765 6 років тому

    Best explanation on polyfit/polyval I've come across so far.

  • @JoshuaJohnMusic
    @JoshuaJohnMusic 8 років тому +13

    you are basically my professor now. you may save my grade for a class on this.

  • @vincentperrenoud8989
    @vincentperrenoud8989 4 роки тому +2

    9 years after, but it's still so helpful!! Thank you so much!

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

    9 years old, still the best video I could find, thanks!

  • @dobraOsoba
    @dobraOsoba 12 років тому +1

    I'll have to write to youtube to make your tutorials the first result when searching for matlab tutorials. It would've saved me a lot of trouble had it been that way. Never truly understood the usefulness of matlab till now. Thank you very much sir, this is such a pleasure!

  • @fairouzyousof
    @fairouzyousof 11 років тому

    love your explaination, even something might be basic, but still you explain it like the "hold on" command. Thanks

  • @manuelcruz7934
    @manuelcruz7934 8 років тому +1

    Thank you! This was very easy to understand and extremely helpful!

  • @reyesamell
    @reyesamell 11 років тому

    Oh Thank you so much, I had been looking for this the whole afternoon.

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

    You explain things so generously for a beginner like me. Thank you for your work! God bless

  • @chimaujoatuonu19
    @chimaujoatuonu19 6 років тому

    You made it quick and simple. Thank you.

  • @desaigeneral
    @desaigeneral 10 років тому

    'Polynomial regression in MATLAB' ----> Sir, thank you very much. Few days ago started learning MATLAB and your videos are of great great help to me. Could you please explain how to calculate R^2 value? Could you also explain me how to calculate uncertainty associated with the new cubic fit values?

  • @MaraSilvamaramaRama
    @MaraSilvamaramaRama 6 років тому

    your explanation is so good ! thanks

  • @RIPpudrow
    @RIPpudrow 11 років тому +1

    Thank you so much. I always forget little functions like polyfit/val I learned years ago!

  • @stallonetht
    @stallonetht 12 років тому

    Hey! you are really doing good jobs in teaching MATLAB through youtube! Thanks!

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

    If my instructor at university had given us your youtube page link instead of coming to lectures, I would love the whole course instead of thinking about life.

  • @Sunny57500
    @Sunny57500 7 років тому

    Thank you Robert. It was very helpful.

  • @justpab
    @justpab 8 років тому

    Thank you, this was very easy to understand!

  • @ruizeng3076
    @ruizeng3076 8 років тому

    Thank you! It's really easy to understand even for a beginner like me.

  • @ksh2106
    @ksh2106 9 років тому

    Great job, took you 10 minutes to explain and hours worth of material!

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

    Excellent video, thank you so much

  • @hilalvenus
    @hilalvenus 13 років тому

    These are awesome. Thanks a lot!

  • @lotr117
    @lotr117 10 років тому

    OMF thank you!! Keep the videos up!

  • @yangballball
    @yangballball 9 років тому

    It is very easy to understand! Thanks!! :)

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

    phenomenal explanation

  • @2010aurnob
    @2010aurnob 4 роки тому

    Amazing tutorial. Thanks

  • @gennapeltier8352
    @gennapeltier8352 11 років тому +1

    so I NOW understand polyval...thanks so much! :)

  • @felixasoba5120
    @felixasoba5120 6 років тому

    Thanks for the knowledge.

  • @leeholloway6284
    @leeholloway6284 9 років тому

    You're the man, thanks

  • @raamannair4272
    @raamannair4272 9 років тому

    Computational Physics finals coming up & this really helps.

  • @test123ok
    @test123ok 12 років тому

    Thank you sir!
    Is there a way to estimate a datapoint that is outside the provided data ? i think polyfit gives a great fit upto the given datapoints, but the curve changes direction after the last datapoint.

  • @cakdian
    @cakdian 10 років тому +3

    Thank for your nice tutorial
    permit to download sir

  • @JeaneAdix
    @JeaneAdix 8 років тому

    This was really helpful thanks!

  • @akm3014
    @akm3014 7 років тому

    Hi Robert,
    I have a problem and I would like some help if
    possible.
    I am busy studying the mutual influences of the price
    of one good on another. In order to do so, we came up with the following model
    Xi = αi - aPi + bPj (1)
    Xj = αj + bPi - cP j (2)
    I would like to use the Chebychev algorithm interpolation
    and Gaussian quadrature schemes to approximate the parameters αi, αj,
    a, b and c.
    I also know that this is linear system of equations

  • @bluesky5897
    @bluesky5897 11 років тому

    Thanks a lot. This is very useful for me.

  • @pz0513
    @pz0513 12 років тому

    Great tutor!

  • @henrynwogu1838
    @henrynwogu1838 11 років тому

    very nice video. What if i have two triangle waves with irregular period, how can i fit both vectors together?

  • @yousefkhalil8448
    @yousefkhalil8448 10 років тому

    this is a greaaaaaaaaat video. Thanks

  • @bionerd100
    @bionerd100 11 років тому

    Hi,
    How do you specify the start and end of a regression line based on min and max x-values? I use "length(x)"? How do I "integrate" it in after making a graph?
    Thank you,
    K

  • @hussain55019
    @hussain55019 7 років тому

    Thanks a lot Sir..

  • @Thadnill
    @Thadnill 6 років тому

    why does [, options] contain in your plot at 9:44 ?

  • @jack777512
    @jack777512 11 років тому

    Thank you very much

  • @kevinyaeger8167
    @kevinyaeger8167 8 років тому

    Thanks!

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

    wonderful piece of work. Dear Prof, How can I get Multilinear models - four regressor variables (x1; x2; x3 & x4) with Surface Fitting Tool in Matlab?
    To get Polynomial of second order : y = B + a1(x1)^2 + a2(x2)^2 +a3(x3)^2+a4(x4)^2 + a5(x1)(x2) + a6(x1)(x3) + a7(x1)(x4)+a7(x2)(x3)+a8(x2)(x4)+a9(x3)(x4) and how to use cftool
    Please give me some introduction to do this or any hint.
    Thanks a lot.

  • @elwez4742
    @elwez4742 7 років тому

    THANKS YOUR THE BEST

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

    how would you do a log function and a non linear functions?

  • @arber555
    @arber555 12 років тому

    How could I add confidence intervals along this regression line?

  • @lpsoldier8627
    @lpsoldier8627 7 років тому

    that was really cool

  • @johnow4464
    @johnow4464 6 років тому

    Hi, how can i get the equation from the 3rd degree polynomial?

  • @sxndrxcore
    @sxndrxcore 11 років тому

    Hey man ¡¡ thanks a lot for the explanation____ I know it something silly but I don´t speak english very well and u speak so fast :) but I understand almost everything :)
    Thank you again really useful..

  • @ChenWhiteHorse
    @ChenWhiteHorse 12 років тому

    thank you for helping me

  • @hadeerkareem8320
    @hadeerkareem8320 6 років тому

    thanks

  • @CrispyCyclicCenk
    @CrispyCyclicCenk 10 років тому

    thank you very much

  • @sandeep007734
    @sandeep007734 12 років тому

    thanks.. good video

  • @sriram-yh1un
    @sriram-yh1un 6 років тому

    wonderful

  • @pretty4lyf1
    @pretty4lyf1 8 років тому +1

    Please can you send me your wallpaper? I really like it. And thanks for the video.

  • @NishaniENT
    @NishaniENT 12 років тому

    Thanks man..

  • @amirhosseinrahimi8738
    @amirhosseinrahimi8738 10 років тому +1

    Tnx man!

  • @-.____________________________
    @-.____________________________ 4 роки тому

    What if you're given a set of x y values and want to manually create your own polyfit function? Can't figure this out!!!! Help please

  • @mavalderramag1
    @mavalderramag1 11 років тому

    thx!

  • @amcbirds
    @amcbirds 13 років тому

    OH GOD i have my finals tomorrow...why didnt i find these videos before :(

  • @abderrahimwakif9240
    @abderrahimwakif9240 8 років тому

    it is very interesting cours

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

    QMUL gang where u at

  • @Adsabs12
    @Adsabs12 9 років тому +1

    Americans are better explainers than Brits and Australians...... thank alot

    • @chamilperera7827
      @chamilperera7827 9 років тому +2

      Mrmalleableful I absolutely agree with you, because even if you take a text book written by a British, that is really difficult to read compared to one written by an american. Americans create academic and scholarly article to educate people while British write to show off their colors. But I cannot generalize this accusation, since there are lot of British scholars who are outstanding teachers.

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

    Very helpful, but you speak too fast. Needed to slow the speed to 0.75 to understand you!

  • @grupadziewiata8684
    @grupadziewiata8684 10 років тому

    grupa 9 jara się tym