Results 1 to 2 of 2

Thread: spline hell :-(

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2002
    Posts
    31

    Angry 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.

  2. #2
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573
    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
  •  



Click Here to Expand Forum to Full Width