How to set freqz for not showing

2 ビュー (過去 30 日間)
andreas ioannou
andreas ioannou 2017 年 2 月 3 日
コメント済み: Star Strider 2017 年 2 月 4 日
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

採用された回答

Star Strider
Star Strider 2017 年 2 月 3 日
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 件のコメント
andreas ioannou
andreas ioannou 2017 年 2 月 4 日
Thanks Star Strider :)
Star Strider
Star Strider 2017 年 2 月 4 日
My pleasure!
If my Answer helped solve your problem, please Accept it!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by