Charlotte, North Carolina
June 20, 1999
June 20, 1999
June 23, 1999
4.421.1 - 4.421.7
POLES AND ZEROS, AND MATLAB®, OH MY!
Thad B. Welch†, Cameron H.G. Wright‡, and Michael G. Morrow† † Department of Electrical Engineering U.S. Naval Academy, MD ‡ Department of Electrical Engineering U.S. Air Force Academy, CO
Digital signal processing (DSP) using MATLAB® is being taught at the undergraduate level all around the world1-8. Even with the tremendous computational capabilities of MATLAB®, the significance of the pole/zero plot remains a mystery to many of our students. The ability to predict the effect of pole/zero location on either the magnitude or phase plot can be significantly enhanced using computer software. Software programs already exist that allow a student to calculate the magnitude and phase response associated with the arbitrary placement or movement of real and complex poles/zeros upon the complex plane. Unfortunately, these programs all have significant limitations.
Our program adds several features that are either totally unavailable, or only partially available from these other programs. Specifically, we use the familiar MATLAB® environment to add a graphical user interface (GUI), see Fig. 1, that allows for easy interactive pole/zero placement, relocation, and/or deletion. This GUI includes both real and complex conjugate pairs of both poles and zeros. After a satisfactory pole/zero plot is constructed (e.g., the notched filter shown in Fig. 2), clicking on the Plot mag/phase button causes the magnitude and phase plots to be calculated and displayed in a separate figure (e.g., Fig. 3). The transfer function
0 5 B00zz55 H z = A
is also calculated and returned to the MATLAB® workspace using the familiar numerator coefficient variable B and the denominator coefficient variable, A. Rapid updates are possible and there is no need for a command line interface. Additionally, clicking the Load/run DSK button with the mouse downloads the calculated filter coefficients to an attached TMS320C31 DSK and executes this filter. Since the order of a filter designed using this technique is not expected to be large, implementation using only direct form II (DF-II) is provided.
Wright, C., & Morrow, M., & Welch, T. (1999, June), Poles, Zeros, And Matlab®, Oh My! Paper presented at 1999 Annual Conference, Charlotte, North Carolina. https://peer.asee.org/7889
ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 1999 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015