Lab 1 - N = [50; 80; 90] S1=inv(M)*N M = [1,2,3; -2,1,2;...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Lab #1 17 January 2007 James Christopher Sutherland 11W Part 1 Part 2 function Output = MySineWave(Input) %sine wave function that reads in an angle in degrees, and then returns the sine wave value Output = sin( (2*pi / 360) * Input); figure X =0:1:90; Y=X.^2; plot(Y) LabelGraph('Chris Sutherland','Y=X^2','X','Y'); Z = sin(X); plot(Z) LabelGraph('Chris Sutherland','Z=sin(X)','X (radians)','sin(X)'); Ts=1/44100; TIME=0:Ts:1; y=sin(2*pi*500*TIME); plot(y);
Background image of page 1

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

View Full DocumentRight Arrow Icon
LabelGraph('Chris Sutherland','My First Sound','Samples','Voltage Sent To The Speaker'); z=sin(2*pi*700*TIME); plot(z); LabelGraph('Chris Sutherland','My Second Sound','Samples','Voltage Sent To The Speaker'); SineWave(45) Y = SineWave(X); figure; plot(Y) LabelGraph('Chris Sutherland','Y=sin(X)','X (degrees)','sin(X)') Part 3 M = [1,1,1; 0,1,1; 1,1,0] N = [146; 87; 105] S1=inv(M)*N M = [1,2,3; 0,1,2; 1,2,0]
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: N = [50; 80; 90] S1=inv(M)*N M = [1,2,3; -2,1,2; 1,2,5] N = [50; 80; 90] S1=inv(M)*N Part 4 M = [1,3,3; 0,3,2; 1,3,0] N = [50; 80; 190] S = M \ N N = [5; 8; 19] S = M \ N Part 5 P = [1,1,1,146; 0,1,1,87; 1,1,0,105] S = rref(P) P = [1,3,3,15; 0,3,2,8; 1,3,0,19] S = rref(P) P = [1,3,3,33; 0,3,2,12; 1,3,0,19] S = rref(P) Part 6 1. How long did you spend working on this during the class time? Roughly 10 Minutes. 2. How long did you spend working on this outside of class? Around 15-20 Minutes. 3. What difficulties did you have with this lab? None. 4. What did you learn from this lab? I learned several new ways to solve systems of equations. 5. What suggestions do you have on how we can make this lab better? None, it was a well-written and easy to follow assignment....
View Full Document

This note was uploaded on 09/19/2011 for the course ENGE 1114 taught by Professor Twknott during the Fall '06 term at Virginia Tech.

Page1 / 3

Lab 1 - N = [50; 80; 90] S1=inv(M)*N M = [1,2,3; -2,1,2;...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online