The power trendline does not work correctly.

2 vues (au cours des 30 derniers jours)
Guilherme
Guilherme le 30 Sep 2024
Commenté : Guilherme le 1 Oct 2024
Power Trend line equation has the form y=ax^b, but in MATLAB Online it always appear a=b.
  4 commentaires
Guilherme
Guilherme le 1 Oct 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 le 1 Oct 2024
Modifié(e) : Guilherme le 1 Oct 2024
I have been using simulink.

Connectez-vous pour commenter.

Réponse acceptée

Cris LaPierre
Cris LaPierre le 1 Oct 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.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by