Why am I unable to embed FREQZ plot in a GUI in MATLAB 7.5 (R2007b)?
2 次查看(过去 30 天)
显示 更早的评论
I have a filter design GUI where a user can input the poles and zeros of the desired response. I am using the FREQZ command to plot the frequency response of the filter in the GUI. However, the GUI gets destroyed by using FREQZ.
采纳的回答
MathWorks Support Team
2009-6-27
The ability to pass an axes to FREQZ where the filter response can be plotted is not available in the Signal Processing Toolbox (R2007b). While FVTOOL can be used to visualize filter response graphically, it cannot be embedded into a custom GUI.
When attempting to embed a FREQZ plot, it destroys the GUI because FREQZ uses the FREQZPLOT function to draw the magnitude and phase of the output response. When an input structure containing the axes to be plotted is not passed to FREQZPLOT, it automatically generates two subplots in the current figure to plot magnitude and response, and thus destroys the GUI.
As a workaround, obtain the frequency response data from the FREQZ command, and plot this to the requisite axis.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multirate Signal Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!