How to convert normalized frequency to logarithmic frequency in magnitude frequency response

13 ビュー (過去 30 日間)
632541
632541 2021 年 9 月 23 日
編集済み: 632541 2021 年 9 月 23 日
Hi,
How to convert normalized frequency to logarithmic frequency.
I have magnitude response of filter,
x axis in normalized freq. 0 to 1(Sampling frequency).
I want to get the x axis in logarithmic frequencies.
How to do this in matlab?
Please any solutions for this
  2 件のコメント
Mathieu NOE
Mathieu NOE 2021 年 9 月 23 日
hello
you can easily create your x axis (frequency) vector by using logspace :
assuming you want N values :
% start_freq is the min normalized frequency
% stop_freq is the max normalized frequency
% Fs is the sampling frequency
freq = logspace(log10(start_freq*Fs/2),log10(stop_freq*Fs/2),N);
632541
632541 2021 年 9 月 23 日
編集済み: 632541 2021 年 9 月 23 日
Thank you..
I'm using freqz(b,a) for IIR filter

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeMatched Filter and Ambiguity Function についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by