Search Spectral Audio Signal Processing
Book Index | Global Index
Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?
Matlab for Unwrapping Spectral Phase
When spectral phase is processed, it is often necessary
to unwrap the phase to make it a ``continuous'' function.
Below is a simple matlab function for this purpose. It is based on
the assumption that phase jumps by more than
radians must have
been ``wrapped''. That is, multiples of
are added or
subtracted so that the phase changes by no more than
from one
spectral bin to the next. Bin 0 (corresponding to dc) is arbitrarily
chosen as ``unwrapped'' and used as a starting point for the
unwrapping algorithm.
Subsections
Previous: Matlab listing: testmyspectrogram.mNext: Matlab listing: unwrap.m
About the Author: Julius Orion Smith III
Julius Smith's background is in electrical engineering (BS Rice 1975, PhD Stanford 1983). He is presently Professor of Music and Associate Professor (by courtesy) of Electrical Engineering at
Stanford's Center for Computer Research in Music and Acoustics (CCRMA), teaching courses and pursuing research related to signal processing applied to music and audio systems. See
http://ccrma.stanford.edu/~jos/ for details.
No comments yet for this page
Add a Comment
You need to login before you can post a comment (best way to prevent spam). ( Not a member? )