Time Frequency Analysis using CWT

This function perform a CWT and plot the magnitude scalogram

You are now following this Submission

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 (2026). Time Frequency Analysis using CWT (https://se.mathworks.com/matlabcentral/fileexchange/64860-time-frequency-analysis-using-cwt), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0