Clear Filters
Clear Filters

Straight line fitting and error calculation

12 views (last 30 days)
Hello everyone,
I have done straight line fitting by using polyfit command where i gave polynomial = 1 and found the values of m and c of the equation mx + c = y
Now i want to find errors associated with m and c i.e I want finally
m +/- error c +/- error
It would be nice if anyone could help me with it. I am badly stuck :(
Thanks

Accepted Answer

Star Strider
Star Strider on 30 Jan 2015
I am glad you asked! See polyparci in the File Exchange.
  10 Comments
aditi
aditi on 10 Feb 2015
hey.. thanks a lot..!! :-)
I will bother you again if required.. bt thanks for everything.. you were of great help.. :-)

Sign in to comment.

More Answers (0)

Categories

Find more on Polynomials in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!