How to set freqz for not showing

1 visualización (últimos 30 días)
andreas ioannou
andreas ioannou el 3 de Feb. de 2017
Comentada: Star Strider el 4 de Feb. de 2017
Hi everyone I am doing a sound processing and i have a lot plots, i am using set(0,'DefaultFigureVisible','oFF') for not showing the figures and after i saving all the figures. The only figure for showing is the freqz
here is my code
[b,a] = butter(5,fc/(Fs/2));
h(1) = figure;
freqz(b,a);
Thank you

Respuesta aceptada

Star Strider
Star Strider el 3 de Feb. de 2017
Ask freqz for outputs and it will not plot by default.
From the documentation:
  • freqz(_) with no output arguments plots the frequency response of the filter.
Example:
[h,w] = freqz(b,a,n);
See the documentation for freqz for details.
  2 comentarios
andreas ioannou
andreas ioannou el 4 de Feb. de 2017
Thanks Star Strider :)
Star Strider
Star Strider el 4 de Feb. de 2017
My pleasure!
If my Answer helped solve your problem, please Accept it!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by