Signals, Systems, & Transforms
MATLAB Session
DT Frequency Domain Analysis z-Transform
- Learn to use "linspace" function in MATLAB.
- Find z-Transform from discrt. time signal using MATLAB function.
- Find Inverse z-Transform from cont. frequency signal using MATLAB function.
Generating Amplitude Responses and Plots using MATLAB
- Find z-Transform from discrt. time signal using MATLAB function and plot the result w.r.t. frequency (Ω-plane).
Design and Plot Digital Filters using MATLAB
LPF, HPF, BPF
Finding z-Transform And Inverse z-Transform -
INLAB Report (No 1) :
- Find z-Transform for following time domain signal using MATLAB.
- Consider using "sym" function to define time domain signal.
- Can you guess MATLAB function which performs z-Transform?
- Use help in MATLAB to find the syntax for function.
INLAB Report (No 2):
- Consider a DT signal, x(n), and DT system, h(n), described as below.
- Use z-Transform to find output response, Y(z), in z-domain using MATLAB.
- Use inverse z-Transform to find DT output response, y(n).
- Can you guess MATLAB function which performs z-Transform?
- Use help in MATLAB to find the syntax for function.
Generating Frequency Responses (Amplitude Response)
INLAB Report (No 3):
- Generate Amplitude Plot and Phase Plot for following DT frequency response system using MATLAB.
- Define a discrete-time frequency variable Ω from - π to - π with step size of π/200. (Note, π in MATLAB is pi)
- Consider using "tf", "freqresp", and "squeeze" function to define frequency response of system.
- Consider using "abs" function to plot amplitude response of system.
- Consider using "angle" function to plot phase response of system.
- Plot amplitude response w.r.t. DT frequency Ω.
- Plot phase response w.r.t. DT frequency Ω.
- Use help in MATLAB to find the syntax for function.
- Include screen shot of your code and results in report.
- Describe the result in your own words.
Poles and Zeros in Freq. Resp. (Graphical Representation)
INLAB Report (No 4) :
- We are trying to control gain (attenuation) using poles in DT frequency response.
- Modify existing code to generate Amplitude Plot and Phase Plot for following DT frequency response system.
- Plot amplitude response w.r.t. DT frequency Ω.
- Plot phase response w.r.t. DT frequency Ω.
- Use help in MATLAB to find the syntax for function.
- Include screen shot of your code and results in report.
- Describe the result in your own words.
INLAB Report (No 5):
- We are trying to control gain (attenuation) adding more zeros in DT frequency response.
- Modify existing code to generate Amplitude Plot and Phase Plot for following DT frequency response system.
- Plot amplitude response w.r.t. DT frequency Ω.
- Plot phase response w.r.t. DT frequency Ω.
- Use help in MATLAB to find the syntax for function.
- Include screen shot of your code and results in report.
- Describe the result in your own words.
INLAB Report (No 6):
- We are trying to control gain (attenuation) adding more poles in DT frequency response.
- Modify existing code to generate Amplitude Plot and Phase Plot for following DT frequency response system.
- Plot amplitude response w.r.t. DT frequency Ω.
- Plot phase response w.r.t. DT frequency Ω.
- Use help in MATLAB to find the syntax for function.
- Include screen shot of your code and results in report.
- Describe the result in your own words
INLAB Report (No 7):
- Generate Amplitude Plot and Phase Plot for following DT frequency response system using MATLAB.
- Modify existing code to generate Amplitude Plot and Phase Plot for following DT frequency response system.
- Plot amplitude response w.r.t. DT frequency Ω.
- Plot phase response w.r.t. DT frequency Ω.
- Use help in MATLAB to find the syntax for function.
- Include screen shot of your code and results in report.
- Describe the result in your own words.
High Pass Filter (HPF):
- How can you design DT HPF?
- How can you describe magnitude of HPF?
- Where is the peak (maximum gain / minimum loss)?
- Where will you place pole(s) or zero(s)???
INLAB Report (No 8):
- Generate Amplitude Plot and Phase Plot for following DT frequency response system using MATLAB.
- Modify existing code to generate Amplitude Plot and Phase Plot for following DT frequency response system.
- This time, consider using "freqz" function to define frequency response of system.
- Plot amplitude response w.r.t. DT frequency Ω.
- Plot phase response w.r.t. DT frequency Ω.
- Use help in MATLAB to find the syntax for function.
- Include screen shot of your code and results in report.
- Describe the result in your own words.
Attachment:- Assignment File.rar