# FItting 3d with fourier

3 views (last 30 days)
Vincenzo Senatore on 27 Oct 2021
Commented: sandesh amgai on 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?
BEST regards,
Vincenzo Senatore on 27 Oct 2021
here i link a text in which there is the kind of equation that i would like to obtain

Alex Sha on 28 Oct 2021
If taking the fitting function as:
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
##### 2 CommentsShowHide 1 older comment
Vincenzo Senatore on 29 Oct 2021
Edited: Vincenzo Senatore on 30 Oct 2021
sorry but this is my real workspace , with V=f(y,z), if you find other time pls can u help me with the real case because i didn't understand that u were solving it and i wasn't able to load the full text,
THanks so much,
Best regards.

Alex Sha on 28 Oct 2021
Hi, give your data as text format, not a picture just.
##### 2 CommentsShowHide 1 older comment
sandesh amgai on 13 Sep 2022
Hello Alex,
how did you code the double fourier function?