Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I don't know how to solve (a),(b),(e) problems. Program 3_1 matlab code is below. please help me. % Program 3_1 % Discrete-Time Fourier Transform Computation

I don't know how to solve (a),(b),(e) problems. Program 3_1 matlab code is below. please help me.

image text in transcribed

% Program 3_1 % Discrete-Time Fourier Transform Computation % % Read in the desired length of DFT k = input('Number of frequency points = '); % Read in the numerator and denominator coefficients num = input('Numerator coefficients = '); den = input('Denominator coefficients = '); % Compute the frequency response w = 0:pi/k:pi; h = freqz(num, den, w); % Plot the frequency response subplot(2,2,1) plot(w/pi,real(h));grid title('Real part') xlabel('\omega/\pi'); ylabel('Amplitude') subplot(2,2,2) plot(w/pi,imag(h));grid title('Imaginary part') xlabel('\omega/\pi'); ylabel('Amplitude') subplot(2,2,3) plot(w/pi,abs(h));grid title('Magnitude Spectrum') xlabel('\omega/\pi'); ylabel('Magnitude') subplot(2,2,4) plot(w/pi,angle(h));grid title('Phase Spectrum') xlabel('\omega/\pi'); ylabel('Phase, radians')

M 3.2 Using Program 3 I. determine and plot the real and imaginary parts and the magnitude and phase spectra of the IOTFI s of the sequences of Problem 3.19 for N 10, 3.19 Determine the DTFT of each of the following finite-length sequences: (a) yiln 1. -N S n S N 1, 0 s n s N 0, otherwise, (b) y2In) otherwise, -N s n s N (c) y3[n] otherwise, N n N cos (Trn/2N) N S n s N (d) y4 (e) y fInl otherwise, otherwise

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Property Companies An Industry Accounting And Auditing Guide

Authors: Accountancy Books

1st Edition

1853558079, 978-1853558078

More Books

Students also viewed these Accounting questions

Question

find all matrices A (a) A = 13 (b) A + A = 213

Answered: 1 week ago