Monday 14 December 2015

MATLAB CODE FOR ANALOG TO DIGITAL SIGNAL CONVERSION

hi
     we know the analog sine wave but latest discrete signal . In  MATLAB  we can implement  by using following code
 clc;
clear all;
close all;
x=0:0.1:10;
y=sin(x);
subplot(2,1,1);

plot(x,sin(x));
xlabel('time');
ylabel('amplitude');
title('analog  signal');
hold on;
subplot(2,1,2);
x=0:0.1:10;
y=sin(x);
stem(x,y);
title('discrete  signal');xlabel('time');
ylabel('amplitude');

FOR MORE DETAILS
                                         CLICK HERE

No comments:

Post a Comment