Info

This question is closed. Reopen it to edit or answer.

Least sq fit of strainght line

1 view (last 30 days)
aditi
aditi on 17 Jul 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
I have a histogram and i want to fit it with a function of form
y(x)= mx+c
how to do that...also after that i have to find the uncertainity
  1 Comment
dpb
dpb on 17 Jul 2013
Edited: dpb on 20 Jul 2013
use polyfit
Actually, explain more fully what you're after fitting and how the histogram comes into it...do you have the underlying data or only the bins/counts?

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!