CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Math problem

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Arclite



Joined: 02 Jul 2004
Posts: 16
Location: UK

View user's profile Send private message Send e-mail

Math problem
PostPosted: Thu Sep 09, 2004 4:49 pm     Reply with quote

Hi guys,
Maybe this is in the wrong forum, so any advice is welcomed.

I need to know know to interpolate between a couple of points.

For linear interpolation i want to interpolate between two points, and for circular interpolation i want to interp. between two points and a third 'via' point.

Does anyone know where to find info on this topic. I've tried stuff like Numerical Recipes in C but i need a practical guide on the concept.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Thu Sep 09, 2004 7:12 pm     Reply with quote

Edited!

Last edited by Mark on Fri Sep 10, 2004 5:43 am; edited 1 time in total
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Thu Sep 09, 2004 11:00 pm     Reply with quote

These may be helpful:

http://www.mpi-sb.mpg.de/~rybal/armc-live-termin/node9.html
http://www.phys.ufl.edu/~coldwell/class2K/interpolation/Bli.htm

http://encyclopedia.thefreedictionary.com/linear%20interpolation
http://astronomy.swin.edu.au/~pbourke/analysis/interpolation/
bdavis



Joined: 31 May 2004
Posts: 86
Location: Colorado Springs, CO

View user's profile Send private message

PostPosted: Fri Sep 10, 2004 9:47 pm     Reply with quote

For non-linear, do a google search on B-Spline interpolation. Given "n" data points, you can calculate the perfect curve with it. Don't let the math scare ya, it all reduces to subtraction, addition, and division - The PIC can handle it if you aren't pressed for time...
Aghast
Guest







Interpolation
PostPosted: Fri Sep 10, 2004 11:57 pm     Reply with quote

Need a reference on LINEAR interpolation between two points? Cubic splines and non-linear stuff is forgiveable, but gimme a break.

This is the wrong forum, for sure. There must be a remedial math for 5th graders UG or something like that.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Sat Sep 11, 2004 8:28 am     Reply with quote

Quote:

This is the wrong forum, for sure. There must be a remedial math for 5th graders UG or something like that.


Don't have anything nice to say, then don't say anything at all!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group