Cosinor Analysis

Fits cosine curve to a time series using least squares

現在この提出コンテンツをフォロー中です。

Description:
Cosinor analysis uses the least squares method to fit a sine wave to a
time series. Cosinor analysis is often used in the analysis
of biologic time series that demonstrate predictible rhythms. This
method can be used with an unequally spaced time series.

Follows cosinor analysis of a time series as outlined by
Nelson et al. "Methods for Cosinor-Rhythmometry" Chronobiologica.
1979. Please consult reference.

Input:
t - time series
y - value of series at time t
w - cycle length, defined by user based on prior knowledge of time
series
alpha - type I error used for cofidence interval calculations. Usually
set to be 0.05 which corresponds with 95% cofidence intervals

Note: Statistics toolbox is necessary only to caculate t and F distributions for the number of samples at the specified alpha. These values could be obtained from a table and manually inserted in the code, thus negating the use of the statistics toolbox.

引用

cheart (2026). Cosinor Analysis (https://jp.mathworks.com/matlabcentral/fileexchange/20329-cosinor-analysis), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersLinear and Nonlinear Regression についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0

Fix previous errors. New published html files with figures. Needed to include Statistics Toolbox as necessary toolbox.