{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# Lab 1 - N =[50 80 90 S1=inv(M*N M =[1,2,3-2,1,2 1,2,5 N...

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

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);

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

View Full Document
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]
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

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern