Spectrogram: Compute the spectrogram of the signal at the given time range

Description Usage Arguments Value See Also

Description

Compute the spectrogram of the signal at the given time range

Usage

1
2
3
Spectrogram(signal, from.time = window$size/signal$sample.rate,
  to.time = signal$duration, window = Rectangular(1024),
  segment.overlap = 0, n.segments)

Arguments

signal

Source signal.

from.time

From time instant.

to.time

To time instant.

window

FFT window function. Custom windows are just named lists: 'size' the window size in number of samples; 'value' a function taking an integer in range 0:(size - 1) and returning the window value.

segment.overlap

Segment overlap ratio (0 means contiguous segments), negative values produce spaced segments.

n.segments

Exact number of segments (take precedence over segment.overlap which is computed accordingly).

Value

A named list suitable to be printed with image, x element represents the time while y represents the frequency.

See Also

image

Other FFT: Hamming, Hanning, Rectangular, Spectrum, Triangular


cyrus-and/iq documentation built on May 14, 2019, 1:40 p.m.