main content

nonparametric estimate of spectrum using short-凯发k8网页登录

nonparametric estimate of spectrum using short-time fast fourier transform (stft) method

  • short-time fft block

libraries:
dsp system toolbox / transforms

description

the short-time fft block computes a nonparametric estimate of the spectrum. the block buffers, applies a window, and zero pads the input signal. the block then takes the fft of the signal, transforming it into the frequency domain.

examples

ports

input

specify the time-domain input signal as a vector or a matrix. if the input is a matrix, the block treats each column as an independent channel. the input can be a variable-size signal. that is, the frame size of the signal can change while the simulation is running. the number of channels must remain the same.

if the input is fixed point, it must be a signed integer or a signed fixed point value with a power-of-two slope and zero bias.

data types: single | double | int8 | int16 | int32 | fixed point
complex number support: yes

connect your single-channel analysis window to the w[n] port. for the analysis window length parameter, enter the length of the analysis window w. the block buffers the input signal such that it has a frame length of w.

if the window vector is fixed point, it must be a signed integer or signed fixed point with a power-of-two slope and zero bias.

data types: single | double | int8 | int16 | int32 | fixed point

output

the block outputs the complex-valued single-channel or multichannel short-time fft at this port.

data types: single | double | int8 | int16 | int32 | fixed point
complex number support: yes

parameters

specify the frame length of the analysis window as a positive integer greater than 1. the block buffers the input into overlapping window segments using the specified window length and overlap length, and then multiplies each overlapped segment by the window.

specify the number of samples by which consecutive windows overlap in each frame of the input signal as a nonnegative integer. the window overlap reduces artifacts at the data boundaries.

enter the length up to which the block pads the input signal as a positive integer greater than or equal to 2. after the block buffers and windows the signal, it zero-pads the signal before computing the fft. this parameter determines the length of the short-time fast fourier transform output (number of rows). the fft length must be greater than or equal to the window length.

block characteristics

data types

double | fixed point | integer | single

direct feedthrough

no

multidimensional signals

no

variable-size signals

no

zero-crossing detection

no

more about

references

[1] quatieri, thomas e. discrete-time speech signal processing. englewood cliffs, nj: prentice-hall, 2001.

extended capabilities

version history

introduced before r2006a

see also

objects

  • |

blocks

  • | | | | | |

topics

    网站地图