Professional Documents
Culture Documents
Signal Analysis and Processing DA1: Procedure
Signal Analysis and Processing DA1: Procedure
DA1
Name:S.Vigneshwaran
Reg No:16BIS0152
4)
a)
Procedure
a) On putting k values from 0 to 3 we see that there is a gp
getting formed
b) Creating a array of 0 for the finite size of 100 here
c) Changing the value of the 3rd term from the starting of the
array to (-0.9)^a where a is the number of the iteration
d) Plot the stem for the output
Code
clc
clear all
clear vars
n=0:1:99
s=zeros(100)
a=0;
for i=0:3:100
s(i+1)=(-0.9)^a;
a=a+1;
end
stem(n,s);
Simulation
Inference
4)
b)
Procedure
a)Given system is converted into the frequency domain so as to
implement the relation H(jw)
b)find the H(jw) manually
c)create a array of size here is 50
d)find the inverse fourier transform therefore to obtain the
output value ifft command
e)plot the h(n)
Code
n=1:50;
y=zeros(1,50);
i=1;
for q=0.1:0.1:5
y(i)=ifft(exp(-5*j*2*pi*q)+0.5*exp(-7*j*2*pi*q));
i=i+1;
end
y
stem(n,y);
Simulation
y=
Columns 1 through 4
Columns 5 through 8
Columns 9 through 12
Columns 13 through 16
Columns 17 through 20
Columns 21 through 24
Columns 25 through 28
Columns 29 through 32
Columns 37 through 40
Columns 41 through 44
Columns 45 through 48
Columns 49 through 50