Spring 09 WS 19

Spring 09 WS 19 - ENG EK 127 Worksheet 19 Name: _Julian...

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

View Full Document Right Arrow Icon
ENG EK 127 Worksheet 19 Name: ________Julian Hart_______________________________________________ Instructions: The minimum set is Problems 1 – 6. Problem 1 is to be done on paper (although you can and should use MATLAB to check your work). Note that the functions in problems 3-8 all return values; they do not print anything. You should include in your solution to this worksheet examples of calling these functions. 1. For the following matrices A, B, and C: A B C 2 3 4 1 0 6 3 6 5 1 3 1 2 2 1 4 5 2 3 a) Which are symmetric? B b) For all square matrices, give their trace: A – 3 B - 7 c) Give the result of 3*A: 3 12 9 6 d) Give the result of A*C: 19 6 13 17 8 19
Background image of page 1

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

View Full DocumentRight Arrow Icon
e) Are there any other matrix multiplications that can be performed? If so, list: C * B
Background image of page 2
2. Use reshape to create the matrix 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 by first creating a vector 1:16. >> reshape(myvec, 4,4)’
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/19/2010 for the course EK 211 taught by Professor Attaway during the Spring '10 term at BU.

Page1 / 4

Spring 09 WS 19 - ENG EK 127 Worksheet 19 Name: _Julian...

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

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