|
-
Dec 10th, 2002, 12:18 PM
#1
Thread Starter
Junior Member
spline hell :-(
Hi evyerone,
I have two sets of discrete points (vectors X, Y) that when plotted draw a nice pretty picture, what i want to do is smoth this out using splines. I know that the arclength between two points can be cal as
s(i+1) = sqrt( ((x(I) - X(i-1))^2) + ((y(I) - y(i-1))^2)
but what i need to do is plot the splines, Any one out there good with splines?
im using matlab for the computations so any sugestions with matlab code would be great.
Thanks for all you help
Richard
Last edited by deviousrich; Dec 10th, 2002 at 12:21 PM.
-
Dec 11th, 2002, 07:25 AM
#2
I don't use MatLab but I posted a spline routine not long ago. Take a look and see if it's any good for you.
http://www.vbforums.com/showthread.p...ghlight=spline
Good luck.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|