Ipcc Manual
Ipcc Manual
Ipcc Manual
NAME : ……………………………………………………..
BATCH : …………………………………………………….
KALPATARU INSTITUTE OF TECHNOLOGY
TIPTUR-572201
DEPARTMENT
OF
ELECTRONICS & COMMUNICATION ENGINEERING
Staff Incharge:
To bring forth technical graduates of higher caliber with a strong character & to uphold the
spiritual & cultural values of our country.
To impart quality technical & managerial education at graduate & post gradute levels through
our dedicated and well qualified faculty.
M1:To provide excellent education in the field of Electronics and Communication technologies.
M2: To promote scientific and Research attitudes to bring out the best out of our students and
make them excellent engineers.
To prepare students for graduate and postgraduate programmes and to succeed in a career in
PEO-1 Electronics and Communication Engineering related fields.
To provide students with a foundation in fundamental engineering principles together with in-depth
PEO-2 disciplinary knowledge or solid foundation in mathematical, scientific and engineering
fundamentals required to succeed in technical profession.
To train students with a wide scientific and engineering knowledge so as to comprehend, analyze,
PEO-3 design, and create innovative software products and solutions for the real life problems.
To inculcate in students professional and ethical attitude with a strong character and to uphold the
PEO-4 spiritual and cultural values, effective communication skills, teamwork skills, multidisciplinary
approach, and an ability to relate engineering issues to broader social context.
To provide student with an academic environment aware of advanced technological growth leading
PEO-5 to life-long learning needed for a successful professional career, excellence and leadership.
PROGRAM OUTCOMES
6. The Engineer and Society: Apply reasoning informed by the contextual knowledge
to assess societal, health, safety, legal, and cultural issues and the consequent
responsibilities relevant to the professional engineering practice.
12. Life-long learning: Recognise the need for, and have the preparation and ability to
engage in independent and life-long learning in the broadest context of technological
change
CONTENTS
1. a)Program to create and modify a vector (array)
b)Program to create and modify a matrix.
2. Program on basic operation on matrix.
3. Program to solve system of linear equations.
4. Program to Gram-Schmit orthogonalization.
5. Program to find eigen valve and Eigen vector
6. Program to find the singular value decomposition.
7. Programs to generate discrete waveforms.
8. Programs to perform the basic operation of signals.
9. Program to convolution of two given sequences.
10. Program to perform verification of commutative property of convolution.
11. Program to perform verification of distributive property of convolution.
12. Program to perform verification of associative property of convolution.
13. Programs to find Z-transform and inverse Z-transform of a sequence.
clear
a = [1,2,3,4];
disp(a)
b=5*a
disp(b)
Result:
1. 2. 3. 4.
clear
a = [1,3,5;2,4,6;7,8,10];
disp(a)
b=5*a
disp(b)
Result:
1. 3. 5.
2. 4. 6.
7. 8. 10.
5. 15. 25.
10. 20. 30.
35. 40. 50.
Result:
1. 2. 3.
4. 5. 6.
7. 8. 9.
2. 2. 3.
1. 3. 3.
1. 1. 3.
7. 11. 18.
19. 29. 45.
31. 47. 72.
3. 4. 6.
5. 8. 9.
8. 9. 12.
1. 4. 7.
2. 5. 8.
3. 6. 9.
2. 1. 1.
2. 3. 1.
3. 3. 3.
6.
clc
a=[1 2 4;2 1 3;1 1 1 ]
b=[15;10;5]
disp(a)
disp(b)
res=inv(a)*b
disp(res)
Result:
1. 2. 4.
2. 1. 3.
1. 1. 1.
15.
10.
5.
0.
2.5
2.5
n <- nrow(x)
k <- ncol(x)
u <- matrix(0,nrow=n,ncol=k)
u[,1] <- x[,1]/drop(sqrt(x[,1]%*%x[,1])
i<-i+1
for(i in 2:k) {
u[,i] <-x[,i] - (u[,1:(i-1)]%*%t(u[,1:(i-1)]))%*%x[,i]
u[,i] <-u[,i]/drop(sqrt(u[,i]%*%u[,i]))
}
u1<-u
.
a=[1 4; 2 3]
b=spec(a)
disp(b,'eigen values are' )
[c,d]=spec(a)
disp(c , 'eigen vector')
disp(d, 'eigen matrix')
Result;
eigen values are
-1.
5.
eigen vector
-0.8944272 -0.7071068
0.4472136 -0.7071068
eigen matrix
-1. 0.
0. 5.
a) clc
f=0.2
t=0:0.1:10
x=cos(2*%pi*t*f)
plot(t,x)
plot2d3(t,x)
xlabel('time')
ylabel('amplitude')
title('sine wave')
Result:
b) Program to generate a square wave
clc
t=linspace(0,10,50)
vm=5*squarewave(t)
plot(t,vm)
plot2d3(t,vm)
c) Programe tp genetare triangular wave
clc
a=8
t=0:(%pi /4):(4* %pi)
y=a*sin(2*t)
plot(t,y)
xlabel('time')
ylabel('amplitue')
title('triangular wave')
Result:
Result:
clc
clear
a=1:4
b=[2 1 1 2]
n1=length(a)
n2=length(b)
y=convol(a,b)
disp(y)
N=0:1:n1+n2-2
N1=0:1:n1-1
N2=0:1:n2-1
subplot(3,1,1)
plot2d3(N1,a)
xlabel('time')
ylabel('amplitude')
title('value of a')
subplot(3,1,2)
plot2d3(N2,b)
xlabel('time')
ylabel('amplitude')
title('value of b')
subplot(3,1,3)
plot2d3(N,y)
xlabel('time')
ylabel('amplitude')
title('convolution of two signals')
8) Program for property of convolution
clc
a=[1 2 3 4]
b=[2 1 1 2]
c=[1 1 1 1]
//distrubutive law
y1 = convol(a,(b+c))
disp(y1)
y2 = convol(a,b)+convol(a,c)
disp(y2)
if y1==y2
disp('disturbutive law satisfy')
else
disp('disturbutive not satisfy')
end
//associative law
y3=convol(convol(a,b),c)
disp(y3)
y4=convol(a,convol(b,c))
disp(y4)
if y3==y4
disp('associative law satisfied')
else
disp('associative law not satisfied')
end
//commutative law
y5=convol(a,b)
disp(y5)
y6=convol(b,a)
disp(y6)
if y5==y6
disp('commutative law satisfied')
else
disp('commutative law not satisfied')
end
Result:
3. 8. 15. 25. 20. 17. 12.
disturbutive satisfy
11.Program to compute the step response from the given impulse respons
t=0:4;
y=ones(1,5);
subplot(2,1,1);
plot2d3 (t,y);
xlabel('time');
ylabel('amplitude');
title('Unit Step Discrete Signal');
subplot(2,1,2);
plot(t,y);
xlabel('time');
ylabel('amplitude');
title('Unit Step Continuous Signal');