Notes - 2.20 - Transpose swap rows with columns A B C D * E...

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

View Full Document Right Arrow Icon
EE 312 Notes , February 19 2008 Quiz for Friday Write a function to subtract two matrices from each other Write a function that takes no parameters and returns a random integer between 1 and 10 inclusive . Question 13 3 . ( ) Question 13 5 a Exams will be given Friday Next time the statistics of the program were checked easily : Today how to use 2D Matrices to do things o C does not have a primitive matrix data type o - Its treated as a 2 d array o Common matrix operations must be programmed o Has to leave only one unfilled o C is not matlab o : , Unary Transpose Inverse
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Transpose swap rows with columns A B C D * E F G h = + intae bg + af bh + ce dg + cf dh o invert find determinutents * * 4 2 and 5 3 Then multiple the number by the matrx Random Numbers o . In stdlib h o Use functions like o ( ) Int rand void Takes no parameters but returns an integer ( ) Void srand unsigned int seed o Sets the seed value for the start of the sewuence o The default is 1 o ( ( ))-Srand time NULL send the time to the seed / 9 5 alwayss returns 1 EE 312 Notes , February 19 2008 Strings...
View Full Document

This note was uploaded on 03/22/2008 for the course EE 312 taught by Professor Shafer during the Spring '08 term at University of Texas at Austin.

Page1 / 2

Notes - 2.20 - Transpose swap rows with columns A B C D * E...

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

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