This is the current revision of this page, as edited by Glonnadiyedits(talk | contribs) at 13:48, 5 July 2025(Clarified intro by defining key words and easing technical language for reader’s unfamiliar with the subject.). The present address (URL) is a permanent link to this version.Revision as of 13:48, 5 July 2025 by Glonnadiyedits(talk | contribs)(Clarified intro by defining key words and easing technical language for reader’s unfamiliar with the subject.)
In mathematics and Fourier analysis, a rectangular mask short-time Fourier transform (rec-STFT) is a simplified form of the short-time Fourier transform which is used to analyze how a signal's frequency content changes over time. In rec-STFT, a rectangular window (a simple on/off time-limiting function) is used to isolate short time segments of the signal. Other types of the STFT may require more computation time ( refers to the amount of time it takes a computer or algorithm to perform a calculation or complete a task) than the rec-STFT.
Spectrograms produced from applying a rec-STFT on a function consisting of 3 consecutive cosine waves. (top spectrogram uses smaller B of 0.5, middle uses B of 1, and bottom uses larger B of 2.)
From the image, when B is smaller, the time resolution is better. Otherwise, when B is larger, the frequency resolution is better.
Advantage: Least computation time for digital implementation.
Disadvantage: Quality is worse than other types of time-frequency analysis. The jump discontinuity of the edges of the rectangular mask results in Gibbs ringing artifacts in the frequency domain, which can be alleviated with smoother windows.