File Exchange

image thumbnail

Signal Framing (Segmentation) with Matlab

version 1.0.0 (35.7 KB) by Hristo Zhivomirov
Signal framing (segmentation) of a signal for feature extraction on the individual frames (segments).


Updated 13 Oct 2019

View License

The present code is a Matlab function that provides a framing (segmentation) of a given signal x[n]. Further, the frames (segments) could be post-processed (e.g., for feature extraction). The output of the function is:
1) a matrix with the signal frames with time across the columns and indexes across the rows;
2) a time vector.

An example is given in order to clarify the usage of the function. For convenience, the input and output arguments are given in the beginning of the function.

The code is based on the theory described in:

[1] H. Zhivomirov. On the Development of STFT-analysis and ISTFT-synthesis Routines and their Practical Implementation. TEM Journal, ISSN: 2217-8309, DOI: 10.18421/TEM81-07, Vol. 8, No. 1, pp. 56-64, Feb. 2019. (

Cite As

Hristo Zhivomirov (2020). Signal Framing (Segmentation) with Matlab (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Short-Time Fourier Transform (STFT) with Matlab