{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# Homework 1 - Joseph Murphy Signals Systems Homework 1 1...

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

Joseph Murphy January 28 th , 2010 Section 2 Homework 1 1) Code: %Set up a continuous time vector ranging from 0 to 10 in increments of 0.01 t = [0:.01:10] %Define the basic signals to be plotted xa = cos(3*t); xb = sin(4*t); xc = exp(-0.2*t); xd = csc(4*t); %Define the element by element products of two signals xe = xb.*xd; xf = xa.*xc; %Define the element by element sum of two signals xg = xc + xd; %Define the final basic signal xh = tan(3*t); %Plot the figure in a 4x2 window using a common time vector figure(1) subplot(421), plot(t,xa), title( 'signal a(t)' ) subplot(422), plot(t,xb), title( 'signal b(t)' ) subplot(423), plot(t,xc), title( 'signal c(t)' ) subplot(424), plot(t,xd), title( 'signal d(t)' ) subplot(425), plot(t,xe), title( 'signal e(t)' ) subplot(426), plot(t,xf), title( 'signal f(t)' ) subplot(427), plot(t,xg), title( 'signal g(t)' )

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

View Full Document
subplot(428), plot(t,xh), title( 'signal h(t)' ) Output:
2) Code %Open the sound, grabbing the signal, sample rate, and data bits

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.

{[ snackBarMessage ]}

### Page1 / 7

Homework 1 - Joseph Murphy Signals Systems Homework 1 1...

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

View Full Document
Ask a homework question - tutors are online