Time Frequency Analysis using CWT

This function perform a CWT and plot the magnitude scalogram
1K Downloads
Updated 26 Oct 2017

View License

This function is equivalent to cwt function, with a mayor diference, this function returns the actual value at every axis, it is useful if you want to use the actual time in which a frequency is relevant, and solve the problem of autoscaling of CWT function.
All the tutorials i found on Mathworks plot the scalogram using "helperCWTTimeFreqPlot" function but for newer releases of Matlab this function was replaced with CWT with no output arguments, and CWT with no output arguments autoscales frequency and time based on the sampling frequency, and this represent a problem sometimes.

Also if plotnum is equal to 1, the function plots the magnitud scalogram.

Output and input arguments are specified inside the function.

Cite As

Miguel Nuñez (2024). Time Frequency Analysis using CWT (https://www.mathworks.com/matlabcentral/fileexchange/64860-time-frequency-analysis-using-cwt), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

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