Hi. I'm quite new to PHP and am programming for a professor at school. I need to use functions similar to the polyfit & polyval function available in Matlab to fit data to a curve. However, I'm struggling to understand how it works. Are there any libraries out there or any functions in php that I could use?? I have managed to calculate the Least square and getting a line plot but need some help with the curve fitting. Any assistance in this area would be appreciated. Thanks. __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/saFolB/TM --------------------------------------------------------------------~-> PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/