Hello,(adsbygoogle = window.adsbygoogle || []).push({});

this is my situation: I've got some data from an experiment stored in matlab. So I plot the graph and get a x^2 curve. I plot the loglog graph and see a near-"perfect" line. Now I want to create the best approximation to it (in a least squares sense).

I don't want to do that manually as it's a tedious process. So I tried polyfit, but when I compare the line generated by polyfit to the line from the experiments + after applying loglogging it doesn't match at all.

I take it I made something wrong, but I don't get what.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# [Matlab] Linearization

Loading...

Similar Threads for Matlab Linearization | Date |
---|---|

MATLAB "Linear Model" of a Pendulum via Euler's Method | Nov 16, 2016 |

MATLAB A question on linear algebra(also Matlab related) | Jun 23, 2014 |

Polymath or Matlab non-linear algebraic solver | Oct 11, 2013 |

MATLAB Linear Algebra problem solved in MATLAB | Jul 3, 2012 |

**Physics Forums - The Fusion of Science and Community**