lecture3 - 5+7 ans = 12 ans ans = 12 5+8 ans = 13 x = 5+7 x...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 5+7 ans = 12 ans ans = 12 5+8 ans = 13 x = 5+7 x = 12 x = 5+8 x x = 13 5+8=x ??? 5+8=x | {Error: The expression to the left of the equals sign is not a valid target for an assignment. } X = 5+9 X = 14 x x = 13 X
Background image of page 1

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

View Full DocumentRight Arrow Icon
Sheet1 Page 2 X = 14 a = 7, b=5 a = 7 b = 5 a = 8 b = 6 b = 6 a a = 8 pi ans = 3.14 format long pi ans = 3.14 format long e pi ans = 3.14E+000 eps ans = 2.22E-016
Background image of page 2
Sheet1 Page 3 format e {??? Error using ==> format Unknown command option. } format short e format short g pi ans = 3.14 eps ans = 2.22E-016 y = 3+5*i y = 3 + 5i a = [1 2 3 4] a = 1 2 3 4 a = [1 2 3 4]' a = 1 2 3 4 a = [1 2 3 4] a = 1 2 3 4 b = [5 6 7 8] b =
Background image of page 3

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

View Full DocumentRight Arrow Icon
Sheet1 Page 4 5 6 7 8 c = [5 6 7 c = 5 6 7 8 clear c c {??? Undefined function or variable c'. } A = [1 2 3 4 5 6 7 8] A = 1 2 3 4 5 6 7 8 b b = 5 6 7 8 A*b ans = 70 174 help cross CROSS Vector cross product. C = CROSS(A,B) returns the cross product of the vectors A and B. That is, C = A x B. A and B must be 3 element vectors. C = CROSS(A,B) returns the cross product of A and B along the first dimension of length 3.
Background image of page 4
Sheet1 Page 5 C = CROSS(A,B,DIM), where A and B are N-D arrays, returns the cross
Background image of page 5

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

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

This note was uploaded on 09/05/2011 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.

Page1 / 30

lecture3 - 5+7 ans = 12 ans ans = 12 5+8 ans = 13 x = 5+7 x...

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

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