Borrar filtros
Borrar filtros

Extract data from fvtool output

12 visualizaciones (últimos 30 días)
Mark Thompson
Mark Thompson el 25 de Oct. de 2016
Comentada: Star Strider el 25 de Oct. de 2016
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!

Respuestas (1)

Star Strider
Star Strider el 25 de Oct. de 2016
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 comentarios
Mark Thompson
Mark Thompson el 25 de Oct. de 2016
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 el 25 de Oct. de 2016
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.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by