Saturday, 21 November 2015

HOW TO CONVERT ANALOG TO DISCRETE SIGNAL USING MATLAB

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