stft
Creates a vector of short time Fourier transform outputs.
Syntax
stft(resp_time, resp_mag, seg_locs, win_size, window, amp_type, amp_scale)
Argument
- resp_time
- Vector of response time samples.
- resp_mag
- Vector of response magnitudes.
- seg_locs
- Vector of segment locations.
- win_size
- The window size for each segment.
- window
- Vector of FIR filter weights.
- amp_type
- String indicating "peak" or "psd".
- amp_scale
- String indicating “db(a)”, “db”, “db(c)”, “db(u)”.
Example
Templex Expression | Results |
---|---|
{stft(resp_time, resp_mag, seg_locs, 512, window,
“peak”, “db”)} |
A vector of Fourier transform outputs. |
Comments
The stft function is used to compute the outputs for a short time waterfall plot. The outputs for each segment are stored sequentially in the return vector.
This function is called from the Waterfall panel in HyperGraph 3D. This function is typically not called directly.