I am trying to build a Fourier series fitting with around 12 terms. I am using the 'fit' function and used 'Fourier8' as it won't allow me to go any higher.
I have something similar when I try to fit a polynomial of more than 9 degrees using the 'fit' function. However, this can be overcome by using the 'polyfit' function and you can use much higher polynomial degrees.
Is there an analogous equivalent for Fourier fitting to overcome the limit of 8 terms?