Pathhacker

0 104 0
Matlab code for Sinusoidal sequence
%------------sinusoidal sequence-----------------
clc
clear all
n=1:100
x1=cos(pi*n);
subplot(3,2,1);
stem(n,x1);
xlabel('n');
ylabel('x1(n)');
title('sinusoidal sequence');

x2=cos(pi/2*n);
subplot(3,2,2);
stem(n,x2);
xlabel('n');
ylabel('x2(n)');
title('sinusoidal sequence');

x3=cos(pi/4*n);
subplot(3,2,3);
stem(n,x3);
xlabel('n');
ylabel('x3(n)');
title('sinusoidal sequence');

x4=cos(pi/8*n);
subplot(3,2,4);
stem(n,x4);
xlabel('n');
ylabel('x4(n)');
title('sinusoidal sequence');

x5=cos(pi/16*n);
subplot(3,2,5);
stem(n,x5);
xlabel('n');
ylabel('x5(n)');
title('sinusoidal sequence');

x6=cos(pi/32*n);
subplot(3,2,6);
stem(n,x6);
xlabel('n');
ylabel('x6(n)');
title('sinusoidal sequence');

Tags

MATLAB code for drawing circle with centre (x,y) let circle with centre  (1,3) then the matlab code to…
Profile photo of kavya by kavya
1 119 0
Your nameYour emailYour text

Leave a Reply

Log in
Register
Send message