Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- t=-5:.001:5;
- y=-3.*sign(t).*exp(2i*pi*t+0.25*t);
- subplot(2,1,1);
- plot(t,real(y));
- title('CT signal real');
- xlabel('time');
- ylabel('function output');
- z=y.*rectangularPulse(t/4);
- subplot(2,1,2);
- plot(t,imag(y));
- title('CT signal imaginary ');
- xlabel('time');
- ylabel('function output');
- ---------------------------------------------------
- t=-5:.001:5;
- y=-3.*sign(t).*exp(2i*pi*t+0.25*t);
- z=y.*rectangularPulse(t/4);
- subplot(2,1,1);
- plot(t,real(z));
- title('Rectangular Pulse Signal real ');
- xlabel('time');
- ylabel('function output');
- subplot(2,1,2);
- plot(t,imag(z));
- title('Rectangular Pulse Signal imaginary ');
- xlabel('time');
- ylabel('function output');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement