here i link a text in which there is the kind of equation that i would like to obtain
FItting 3d with fourier
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Vincenzo Senatore
le 27 Oct 2021
Commenté : sandesh amgai
le 13 Sep 2022
Hi everyone,
i'm working at a project in which i got a modelled velocity look like fitted by Fourier8, i have a lot of data and i need to fit u=f(y,z) of the file uploaded , can someone help me please?
Thanks in advance
BEST regards,![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/780823/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/780823/image.jpeg)
Réponse acceptée
Alex Sha
le 28 Oct 2021
If taking the fitting function as:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/782023/image.png)
the result will be:
Root of Mean Square Error (RMSE): 0.000481289122874164
Sum of Squared Residual: 8.10737269289438E-6
Correlation Coef. (R): 0.999538609101962
R-Square: 0.999077431085486
Parameter Best Estimate
---------- -------------
a1 0.0031488389071083
b1 6601.65334793348
c1 -20970.8542584731
a2 -0.132911397446423
b2 3766.85965070268
c2 -1351.15719981604
a3 -0.00321037434029533
b3 -3711.04888391542
c3 10020.2474994826
a4 0.0506407098493067
b4 1263.92176950354
c4 -6128.76676017437
a5 0.00301960797708877
b5 -63934.3471383267
c5 -1699.94515972645
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/782028/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/782033/image.jpeg)
2 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Get Started with Curve Fitting Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!