Extract data from fvtool output

12 次查看(过去 30 天)
Mark Thompson
Mark Thompson 2016-10-25
评论: Star Strider 2016-10-25
Hi there,
I am designing a filter using MATLAB's Filter Design Tool, however I need to verify certain data points in the response. In particular the group delay values. FVTool allows you to view the results of different responses (e.g. see following image), but I need a means of extracting the response data for further use in my code. How can I extract the group delay (or magnitude and phase) data from the filter design tool?
How can I export that curve?
Thanks for any assistance you can offer me!

回答(1 个)

Star Strider
Star Strider 2016-10-25
I don’t routinely use fvtool, so my experience with it is limited. See the section on Modifying the Plot in the fvtool documentation. That will probably let you do what you want.
  2 个评论
Mark Thompson
Mark Thompson 2016-10-25
Thank you for the suggestion, however I have already looked at that page and I have found no way of exporting the graphed data into a vector that can be later manipulated in the MATLAB workspace.
Is there perhaps a means of generating group delay and frequency response data from the [b,a] coefficients in a MATLAB script (without using the filter design tools) that mean they can be plotted manually later?
Star Strider
Star Strider 2016-10-25
My pleasure.
You can’t get there from here with fvtool. It’s designed to graphically let you explore the characteristics of your filter in a GUI.
Since you’ve already designed your filter, use the grpdelay, phasedelay, and related functions in the Signal Processing Toolbox to get the results you want.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Filter Design 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by