1.66667

1.7 | 3 ratings Rate this file 9 Downloads (last 30 days) File Size: 337.06 KB File ID: #23950

Fitting NURBS to a given set of data points

by Vikash Gupta

 

28 Apr 2009

Given a set of six points a closed NURBS curve is used to approximately fit all the six data points.

| Watch this File

File Information
Description

Run the file main.m and everything works fine.
The matrix A contains the data points and it can be changed in the file inputfile.m

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
18 Oct 2009 Vikash Gupta  
07 Jul 2010 GAURAV

Do you have any code which wouls work for say 200-300 data points? Does this work only for 6? Please let me know..

02 Nov 2010 Vikash Gupta

No it just works for six.. I dint code for any generalized data set....

27 Mar 2011 Sven Holcombe

Unfortunately this submission is entirely uncommented, undocumented and unorganised. It only works for a highly specific case (6 2-dimensional input points), and even for that task, the points need to be hard-coded into a file.
It really is a good idea (to be able to fit a NURBS curve to a set of points), but this implementation isn't very useful in doing so yet.

06 Aug 2011 Joe  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
neldermead simplex search Vikash Gupta 29 Apr 2009 10:03:08
optimization Vikash Gupta 29 Apr 2009 10:03:08
nurbs Vikash Gupta 29 Apr 2009 10:03:08
approximating curves Vikash Gupta 29 Apr 2009 10:03:08
nurbs Brandon 28 Sep 2009 17:30:57
neldermead simplex search Jaytee 13 Feb 2011 12:56:52

Contact us at files@mathworks.com