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

34 visualizaciones (últimos 30 días)
Peter Cheimets
Peter Cheimets el 30 de Sept. de 2025 a las 21:02
Comentada: Peter Cheimets el 1 de Oct. de 2025 a las 13:51
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

Respuesta aceptada

John D'Errico
John D'Errico el 30 de Sept. de 2025 a las 21:21
Editada: John D'Errico el 30 de Sept. de 2025 a las 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 comentarios
Peter Cheimets
Peter Cheimets el 1 de Oct. de 2025 a las 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 el 1 de Oct. de 2025 a las 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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by