How to plot frequency response in matlab

Hi. I have the following assignment, but I can't figure out how to plot it in matlab.
A linear time-invariant filter is described by the difference equation y[n] = x[n] - x[n-2]. Obtain an expression for the frequency response of this system: H(e^(j*w)=1-e^((-2)*j*w).
Sketch the frequency respons (magnitude and phase) as a function of frequency. - I would like to do this in matlab. Is it possible?

1 件のコメント

Arnaud Miege
Arnaud Miege 2011 年 5 月 31 日
Yes. What have you done so far?

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

回答 (1 件)

Ivan van der Kroon
Ivan van der Kroon 2011 年 5 月 31 日

0 投票

you could get familiar with the wintool and wvtool gui's. I think these tools are really straight forward. Good luck!

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

質問済み:

2011 年 5 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by