Note: Description accessible with Matlab's built-in "help" function.
The function solveWaveFFT(eta,Fs,units,peaks) computes and plots the 1-sided spectrum from the fast fourier transform of a given time series signal (eta). This function utilizes Matlab's built-in fft function.
Inputs:
- eta – wave elevation time series
- Fs – sampling frequency
- Units – toggle (1: Hz | 2: rads/s)
- Peaks – number of peaks of interest from transform
Outputs:
- Ap – amplitude of peaks
- fp – frequency value of transform peaks, in units specified by input 3.
引用格式
Ian Ammerman (2024). solveWaveFFT (https://www.mathworks.com/matlabcentral/fileexchange/127808-solvewavefft), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2023a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!