Code covered by the BSD License  

Highlights from
click_fit

4.33333

4.3 | 3 ratings Rate this file 18 Downloads (last 30 days) File Size: 1.76 KB File ID: #9311
image thumbnail

click_fit

by

 

08 Dec 2005 (Updated )

You can now choose some arbitrary points by using the mouse, and fit a curve on the top of your ...

| Watch this File

File Information
Description

You can now choose some arbitrary points by using the mouse, and fit a curve on the top of your chosen curve. It is simple and fun, and if you to use a different type of fitting technique, MATLAB has an excellent toolbox for this purpose.

Acknowledgements

This file inspired Clickfit Oh For Curve Fitting By Eye/Hand.

Required Products Curve Fitting Toolbox
MATLAB release MATLAB 7 (R14)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
29 Dec 2006 G G

Can be much better but it does what it says

16 Dec 2005 Eric Shain

As implemented, the function does not require the Curve Fitting Toolbox. The "required products" field should be corrected. I also think a couple of improvements could be made. First, the function should return the x and y coordinates of the clicked points. Second, you might consider plotting the fitted curve after sorting the x coordinates. Otherwise the line connecting the points can jump around if the clicked points don't have a monotonically increasing x coordinate.

13 Dec 2005 Fahad Al Mahmood

Cute function ... it uses simple commands but does a nice job :)

Contact us