How exactly do I code and plot this frequency response?

How exactly do I code the frequency response of this. I try following some of this websites structure but can't find a structure when it involves e^(-j2pi*f) Would really appreciate the help.
<<
>>

回答(1 个)

code the complex exponential as:
exp(-1i*2*pi*f)
Also see the documentation on Array vs. Matrix Operations to understand how to use element-wise operations to code your function.
Look through the documentation, including the ‘Getting Started’ sections if you’ve not used MATLAB before.

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by