C# Класс GSF.NumericalAnalysis.WaveFit

Linear regression algorithm for sine waves.
Показать файл Открыть проект

Открытые методы

Метод Описание
SineFit ( double yValues, double tValues, double frequency ) : SineWave

Uses least squares linear regression to calculate the best fit sine wave for the given data.

Описание методов

SineFit() публичный статический Метод

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 ) : SineWave
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.
Результат SineWave