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.
<<
>>

Answers (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.

Categories

Asked:

on 28 Apr 2016

Answered:

on 28 Apr 2016

Community Treasure Hunt

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

Start Hunting!