My Math Forum  

Go Back   My Math Forum > College Math Forum > Applied Math

Applied Math Applied Math Forum

LinkBack Thread Tools Display Modes
November 11th, 2008, 10:05 AM   #1
Joined: Nov 2008

Posts: 6
Thanks: 0

curve Fitting

Hi everyone,

I have a question regarding curve fitting to data.
My question is:
If I have some data points one of them is (0,0) and when I fit them to a curve, how can I control this fitting curve and force it to pass a definite point like (0,0).

I am attaching Matlab file for this work.

Could anyone give help in this question?

Thank you in advance.

rainy cloud is offline  
December 1st, 2008, 02:59 AM   #2
Joined: Oct 2008

Posts: 14
Thanks: 0

Re: curve Fitting

If you use interpolation it will pass through your point automatically, if you use curve fitting you may model the error curve to enlarge the weight in the precise region you need this feet for example:

will give a weight of approximately 1.0 everywhere, except near (0,0) where it will be . The constant controls how precise the error distribution will be around your point.

There are other ways specific to function you are working with. Any special ways related to the Matlab syntax is beyond my knowledge.
bert.mymathforum is offline  
December 1st, 2008, 09:15 PM   #3
Global Moderator
CRGreathouse's Avatar
Joined: Nov 2006
From: UTC -5

Posts: 16,046
Thanks: 938

Math Focus: Number theory, computational mathematics, combinatorics, FOM, symbolic logic, TCS, algorithms
Re: curve Fitting

It all depends on what type of curve you're fitting to the data, and what you want the result to be like.
CRGreathouse is offline  
December 2nd, 2008, 05:42 PM   #4
Senior Member
Joined: Jul 2008

Posts: 895
Thanks: 0

Re: curve Fitting

This question was posed and answered in another forum a while back. There is a freeware program called, simply, "Graph", found at that will do just that ...draw a regression curve for a set of data points, or one that can be forced through the origin.
Dave is offline  

  My Math Forum > College Math Forum > Applied Math

curve, fitting

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
curve fitting bottlerocket Applied Math 1 December 21st, 2012 05:45 AM
Statistics : Curve fitting colorless Probability and Statistics 6 October 4th, 2011 12:36 PM
Curve fitting problem Stormer Algebra 2 September 11th, 2011 03:33 AM
Curve fitting and endpoints billymac00 Applied Math 0 October 13th, 2009 07:43 AM
Curve fitting. sgrya1 Algebra 1 January 12th, 2008 10:12 AM

Copyright © 2019 My Math Forum. All rights reserved.