Question on the format of 2D curve fit equations in plot

30 views (last 30 days)
I am using basic curve fitting for the first time in a while and I get a bunch of equations of the form:
y = 6.588e + 06x^2 +4028x - 1.066. Can someone tell me what the "e" is in the first term?
Thanks
Peter

Accepted Answer

John D'Errico
John D'Errico on 30 Sep 2025 at 21:21
Edited: John D'Errico on 30 Sep 2025 at 21:24
Scientific notation.
6.588e + 06x^2 == 6.588*10^6 * x^2
Note that it is easier and faster to write, and even a bit easier to read once you learn it. This is commonly used all over MATLAB. For example:
x = 2.3*10^12
x = 2.3000e+12
  7 Comments
Peter Cheimets
Peter Cheimets on 1 Oct 2025 at 13:49
That was a snip of the output from the Basic Fitting tool that I got to from the tool menu in Plot in version R2024b on a Mac (maybe I need update). Here is the plot and the output together:
Peter Cheimets
Peter Cheimets on 1 Oct 2025 at 13:51
Also, now that I look at the image here, I see the version of the equation on the plot itself, and that is certainly clear.
Thanks everyone.
Peter

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!