|
WaveFitSineFit Method
|
Uses least squares linear regression to calculate the best fit sine wave for the given data.
Namespace: GSF.NumericalAnalysisAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+c33f622c070b2c1078a06bcb41bdeb4c19d19a0b
SyntaxGSF.NumericalAnalysis.WaveFit.SineFit = function(yValues, tValues, frequency);
View SourceParameters
- 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 Value
SineWaveA
SineWave approximated from the given data points.
See Also