FFT, PSD, and CSD

Fast Fourier Transform, Powder Spectral Density, and Cross Spectral Density
ダウンロード: 750
更新 2024/9/15

ライセンスの表示

function Result=FFT(x, Fs)
Fast (Discrete) Fourier Transform of a Signal
inputs
x : input sequence (1*Ndata)
Fs: sampling frequency
outputs
Result structure consists of
Result.f : frequency (1*NumUniquePts)
Result.MX : amplitude (1*NumUniquePts)
Result.Arg : Phase Angle (1*NumUniquePts)
------------------------------------------------------------------
function Result=PSD(x, Fs,window,N,p)
Power Spectral Density of a Signal (This function do the averaging for the spectral density)
inputs
x : input sequence (1*Ndata)
Fs: sampling frequency
window : window size
N: Number of windows
p: overlap ratio of windows
outputs
Result structure consists of
Result.f : frequency (1*NumUniquePts)
Result.MX : amplitude (1*NumUniquePts)
------------------------------------------------------------------
function Result=CSD(x,y,Fs,window,N,p)
Cross Spectral Density of a Signal (This function do the averaging for the spectral density)
inputs
x : input sequence 1 (1*Ndata)
y : input sequence 2 (1*Ndata)
Fs: sampling frequency
window : window size
N: Number of windows
p: overlap ratio of windows
outputs
Result structure consists of
Result.f : frequency (1*NumUniquePts)
Result.MX : amplitude (1*NumUniquePts)
Result.Arg : Phase Angle (1*NumUniquePts)

引用

Ayad Al-Rumaithi (2024). FFT, PSD, and CSD (https://www.mathworks.com/matlabcentral/fileexchange/69634-fft-psd-and-csd), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2009b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersFourier Transform についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.3

Added Website

1.0.2

description

1.0.1

Functions are fixed regarding normalization. Description is added

1.0.0