Extract data from fvtool output

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 日

0 投票

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.

サインインしてコメントする。

カテゴリ

質問済み:

2016 年 10 月 25 日

コメント済み:

2016 年 10 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by