Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Continuous 1-D wavelet transform

**See cwt for
information on the older version of the cwt.
The older version is no longer recommended.**

`wt = cwt(x)`

`wt = cwt(x,wname)`

```
[wt,f] =
cwt(___,fs)
```

```
[wt,period]
= cwt(___,ts)
```

```
[wt,f,coi]
= cwt(___,fs)
```

```
[wt,period,coi]
= cwt(___,ts)
```

`[___] = cwt(___,Name,Value)`

`cwt(___)`

`[`

specifies
the sampling frequency, `wt`

,`f`

] =
cwt(___,`fs`

)`fs`

, in Hz as a positive
scalar. `cwt`

uses `fs`

to determine
the scale-to-frequency conversions and returns the frequencies, `f`

,
in Hz. If you do not specify a sampling frequency, `cwt`

returns `f`

in
cycles per sample. You can use this syntax with any of the arguments
from the previous syntaxes.

`[`

specifies
the sampling interval, `wt`

,`period`

]
= cwt(___,`ts`

)`ts`

, as a positive `duration`

scalar. The `duration`

can
be in years, days, hours, minutes, or seconds. `cwt`

uses `ts`

to
compute the scale-to period conversion and returns the time periods
in `period`

. The array of durations in `period`

have
the same format property as `ts`

.

`[___] = cwt(___,`

returns
the CWT with additional options specified by one or more `Name,Value`

)`Name,Value`

pair
arguments.

`cwt(___)`

with no output arguments
plots the CWT scalogram, which is the absolute value of the CWT as
a function of time and frequency. The cone of influence is also plotted.

If you do not specify a sampling frequency, `fs`

,
or time interval, `ts`

, the frequencies are plotted
in cycles per sample. If you specify a sampling frequency, `fs`

,
the frequencies are in Hz. If you specify a sampling duration, the
plot is a function of time and periods.

The * y*-axis of the scalogram uses a log

`pow2(3.01)`

.

[1] Lilly, J. M., and S. C. Olhede. "Generalized Morse
Wavelets as a Superfamily of Analytic Wavelets." *IEEE
Transactions on Signal Processing*. Vol. 60, No. 11, 2012,
pp. 6036–6041.

[2] Lilly, J. M., and S. C. Olhede. "Higher-Order
Properties of Analytic Wavelets." *IEEE Transactions
on Signal Processing*. Vol. 57, No. 1, 2009, pp. 146–160.

[3] Lilly, J. M. *jLab: A data analysis package
for Matlab*, version 1.6.2. 2016. http://www.jmlilly.net/jmlsoft.html.

Was this topic helpful?