samplingCTsigs

# samplingCTsigs - % This is equivalent to multiplying by...

This preview shows pages 1–2. Sign up to view the full content.

clear t=-4:0.01:4; % % Unit Step % %f = inline('(t>=0)','t') %plot(t,f(t)); %axis([-2 4 -0.2 2]); % % Unit ramp % %f = inline('t.*(t>=0)','t') %plot(t,f(t)); %axis([-2 4 -0.2 4]);grid; % % Window % %plot(t,f(t)); %axis([-4 4 -0.2 1.5]); % % Real Exponential % %a = 1; %f = inline('exp(-t)','t') %plot(t,f(a*t)); %axis([-2 2 -0.2 5]); %T=0.1; %n=-20:20; %f_n = f(n*T); %stem(n,f_n); % % g(t)=f(t)u(t) g = inline('exp(-0.5*t).*cos(2*pi*t).*(t>=0)','t') % ^ % | % | % Relational Operation retutns 1 if TRUE % 0 if FALSE

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % This is equivalent to multiplying by unit step u(t) % %plot(t,g(2*t)); %axis([0 2 -1.2 1.2]); %T=0.1; %n=-20:20; %f_n = f(n*T); %stem(n,f_n); % % Complex Exponential % f = exp(jtheta) %theta=0:0.01:5; %im = sin(5*theta); %re = cos(5*theta); %plot3(theta,im,re); % f = inline('exp(-t).*cos(2*pi*t)','t') %plot(im,re); %xlabel('real') %ylabel('imaginary') %pause; %plot(theta,re); %xlabel('theta') %ylabel('real') %pause; %plot(theta,im); %xlabel('theta') %ylabel('imaginary')...
View Full Document

## This note was uploaded on 02/06/2012 for the course EE 2120 taught by Professor Aravena during the Fall '08 term at LSU.

### Page1 / 2

samplingCTsigs - % This is equivalent to multiplying by...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online