I need to write MATLAB program (or use an existing one) to obtain Fourier series coefficients. Let's say the series is going to approximate a 1D curve. The boundary conditions are:
- value of the curve's function in a few places
- curve's first derivative known in a few places
- maximum allowed value of curve's second derivative
- number of harmonics
- the value of curve's integral over a specified interval should be as big as possible <- optimization criterion.
All the functions and tools I've seen so far can obtain series coefficients in much more simple cases. Any hints will be helpful, especially:
- literature, articles with descriptions of useful methods
- hints on objective functions useful for Fourier Series
- info on useful MATLAB Tools