welch matlab,Welch spectrum

Description

Note

The use of spectrum.welch is not recommended.

Use pwelch instead.

Hs = spectrum.welch returns

a default Welch spectrum object, Hs, that defines

the parameters for Welch's averaged, modified periodogram spectral

estimation method. The object uses these default values.

Property NameDefault

ValueDescription{WindowName,winparam}

Cell

array containing WindowName and optional window

parameter'Hamming',

SamplingFlag:

symmetricCell array containing the window name or 'User Defined' and, if used

for the particular window, an optional parameter value. (See

window for valid window names and for more

information on each window, refer to its reference

page.)

You can use set to change the

value of the additional parameter or to define the MATLAB® expression and parameters for a user-defined window.

(See spectrum for

information on using set.)

WindowName'Hamming',

SamplingFlag:

symmetricValid windowname options

are:

'Bartlett'

'Bartlett-Hann'

'Blackman'

'Blackman-Harris'

'Bohman'

'Chebyshev'

'Flat Top'

'Gaussian'

'Hamming'

'Hann'

'Kaiser'

'Nuttall'

'Parzen'

'Rectangular'

'Triangular'

'Tukey'

'User Defined'

Window

names must be enclosed in single quotes, such as

spectrum.welch('tukey') or

spectrum.welch({'tukey',0.7}).

See

window and the corresponding window function

page for window parameter information. You can use

set to change the value of the additional

window parameter or to define the MATLAB expression and parameters for a user-defined window

(see spectrum for

information on using set).

SegmentLength64Length of each of the time-based segments into which

the input signal is divided. A modified periodogram is computed on

each segment and the average of the periodograms forms the spectral

estimate. Choosing the segment length is a compromise between estimate

reliability (shorter segments) and frequency resolution (longer segments).

A long segment length produces better resolution while a short segment

length produces more averages, and therefore a decrease in the variance.

OverlapPercent50%Percent overlap between segments

Hs = spectrum.welch(WindowName) returns

a spectrum object, Hs, using Welch's method with

the specified window and the default values for all other parameters.

To specify parameters for a window, use a cell array formatted as spectrum.welch({WindowName,winparam}).

Hs = spectrum.welch(WindowName,SegmentLength) returns

a spectrum object, Hs with the specified segment

length.

Hs = spectrum.welch(WindowName,SegmentLength,OverlapPercent) returns

a spectrum object, Hs with the specified percentage

overlap between segments.

Note

See pwelch for more information

on the Welch algorithm.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值