Least Squares Fit for ROMS Tides
- : state variables
- : tidal frequency
- : amplitude
- : number of harmonics
To minimize cost function
- are unknowns
In discrete space:
at the minimum
-
-
-
in matrix form (N harmonics). Note: all instances of are actually where M is the number of time-steps in the time-averaging window.