calcFFT(X,sf,plotYN​)

This function handles the nitty-gritty of getting amplitude and phase information using fft.m
157 Downloads
Updated 30 Aug 2016

View License

[f,amp,phase] = calcFFT(X,sf,plotYN) takes one or more signals, X (each column a separate signal), and computes the single-sided phase and frequency spectrogram. It also returns the frequency axis, f, based on the sampling frequency input, sf. plotYN toggles whether or not to plot the phase and frequency spectrograms for each signal.

Cite As

Shannon Locke (2025). calcFFT(X,sf,plotYN) (https://se.mathworks.com/matlabcentral/fileexchange/58919-calcfft-x-sf-plotyn), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
fft

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0