spsi = waveletsupport(fb)
returns the wavelet time supports, defined as the time interval in which all of the
wavelet's energy occurs. The default tolerance is 99.99% of the energy. The time
supports are returned in the MATLAB® table spsi. The wavelets are normalized to have
unit energy.
spsi = waveletsupport(fb,thresh)
specifies the threshold for the integrated energy. The time support of the wavelet
is defined as the first instant the integrated energy exceeds
thresh and the last instant the integrated energy is less
than 1−thresh. If unspecified, thresh
defaults to 10−4.
Create a continuous wavelet transform filter bank. Set the sampling frequency to 1000 Hz and the frequency limits to range from 100 Hz to 200 Hz. Obtain the time supports of the wavelets in the filter bank.
Obtain the time domain wavelets from the filter bank and plot their magnitudes. Use the table to set the minimum and maximum limits of the x-axis to the smallest Begin value and largest End value, respectively.
fb — Continuous wavelet transform filter bank cwtfilterbank object
Continuous wavelet transform (CWT) filter bank, specified as a cwtfilterbank object.
thresh — Time support threshold 10e–4 (default) | positive real number
Time support threshold for the wavelet, specified as a positive real
number between 0 and 0.05. The time support of the wavelet is defined as the
first instant the integrated energy of the wavelet exceeds
thresh and the last instant the integrated energy
is less than 1−thresh.
Wavelet time supports, returned as an
Ns-by-5
MATLAB table, where Ns is the number of wavelet
bandpass frequencies (equal to the number of scales). The table has five
variables:
CF — Wavelet center frequency positive real number
Wavelet center frequency, returned as a positive real
number.
Wavelet designation, returned as a string. Wavelets that do
not decay to 5% of their peak value at the Nyquist frequency are
not considered analytic. The time support information for those
wavelets are returned as NaNs.
Data Types: string
TimeSupport — Wavelet time support positive integer | NaN
Wavelet time support, returned in samples, seconds, or
MATLAB durations. The units of
TimeSupport depend on whether you
specify SamplingFrequency or
SamplingPeriod. If you specify a
SamplingFrequency, the units are seconds.
If you specify a SamplingPeriod, the units
are the same as the SamplingPeriod. If no
SamplingFrequency or
SamplingPeriod is specified, the units
are samples.
Data Types: double
Begin — Beginning of wavelet time support integer
Beginning of wavelet time support, returned as an integer.
Begin is defined as the first instant
the wavelet integrated energy exceeds the default threshold, 10−4. Begin has the same units
as TimeSupport.
Data Types: double
End — End of wavelet time support integer
End of wavelet time support, returned as an integer.
End is defined as the last instant the
wavelet integrated energy is less than 1 − 10−4. End has the same units
as TimeSupport.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.