Method | Description | |
---|---|---|
SineFit ( double yValues, double tValues, double frequency ) : |
Uses least squares linear regression to calculate the best fit sine wave for the given data.
|
public static SineFit ( double yValues, double tValues, double frequency ) : |
||
yValues | double | The y values of the data points. |
tValues | double | The time values of the data points, in seconds. |
frequency | double | The frequency of the sine wave, in Hz. |
return |