MATLAB: Sum of sin fit in curve fitting

curve fitting

For sum of sin fit in the curve fitting, b represents frequency. I want to know that does it mean angular frequency (w=2*pi/period), or usual frequency (f)?
Thank you.

Best Answer

That depends on how it is defined in the context of what you are doing. As a general rule, the argument to the sin() function is in radians.
Related Question