Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Curve Fitting in Matlab

Loading...

Sign in or sign up now!
68,766
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 19, 2006

This brief video demonstrates how to fit data to a curve from within a Matlab figure Window. These videos were recorded for a course I teach as part of a distance masters degree. See http://mepp.engr.wisc.edu

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 7 dislikes

Link to this comment:

Share to:

Uploader Comments (jakeblanchard)

  • I agree with all -- this is great! However, I think there is an error right at the end -- where you demonstrate how to enter an x value in the Basic Fitting window and click Evaluate, it provides an f(x) value.  Then you select plot results. You say that it plots in the linear fit model. However, in the middle section of the Basic Fitting window, the selected Fit was "5th degree polynomial" altho display-selected was linear. "Evaluate" is relative to the mid-window Fit selected; so is plot.

  • @ProfRHD

    Nice catch. You are correct.

  • Is there a possibility to put R² on graph?

  • @meteoroman100

    I don't know of a simple way to do this. They will put the norm of the residuals on the plot. You can use this to calculate R^2 without too much difficulty.

Top Comments

  • This is awesome, I have spent like what? 2 months searching for a direct and easy way to do curve fitting method, and here it is, PERFECTLY EXPLAINED!!! Thanks Bro. Please any tips about contolling the way minor tick marks appear??? Thanks

  • it is my first sentence that you must be more useful for people. much more!

    You are good!. Thanks.

    We will have been waiting for your Matlab's video.

see all

All Comments (32)

Sign In or Sign Up now to post a comment!
  • thanx

  • thans for this video tutorial. It really helped me with my project. If you are interested i have some tutorials as well so go to my channel. Thanks

  • Morgan Freeman!

  • @maezawi

    That's a good question. I don't know of a simple way to do this. All I can think of is to take the log of the x-data, then plot and do the fit, and then take the exponential to get back to the normal axes.

  • Thanks so much for posting

  • @JarOfBuckeyes

    OK. Try this.

    mathworks "dot" com "slash" products "slash" curvefitting

    You might need to add the three w's at the beginning

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more