The power trendline does not work correctly.

2 visualizzazioni (ultimi 30 giorni)
Power Trend line equation has the form y=ax^b, but in MATLAB Online it always appear a=b.
  4 Commenti
Guilherme
Guilherme il 1 Ott 2024
Hi guys, thanks for the comments. I've been doing several simulations in MATLAB Online and whenever I try to use a power trend line, the equation appears with the coefficients a and b equal. In the case of the photo, the data for this example is stored in the MAT file XYData.mat. The trend line is correct, but it seems like there is a bug in the equation.
Guilherme
Guilherme il 1 Ott 2024
Modificato: Guilherme il 1 Ott 2024
I have been using simulink.

Accedi per commentare.

Risposta accettata

Cris LaPierre
Cris LaPierre il 1 Ott 2024
I do not think the issue is related to using Simulink Online. I get the same result in simulink, whether I'm using the desktop or online version. I do get a different result between the Curve Fitter App in MATLAB and the SDI trendline. I think this is a bug and will report it. In the meantime, you could use the Curve Fitter app in MATLAB.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by