ENME 202 Lecture Notes - Lecture 4: Conjugate Transpose, Row And Column Vectors, Matlab

40 views4 pages

Document Summary

Associating many different numbers with a single named variable in your code x = [1 2 3 4] Matlab understands the difference between a row array and a column array. Can put complex numbers, expressions etc in arrays y = [1+2i sqrt(-2) a exp(a)] % result will produce every single column in terms of i (as long as a is defined) Row array can also be row vector. Do the complex conjugate transpose using apostrophe x = [1 3 5 6]" x = % signs flip too because it"s the complex conjugate transpose. Can do transpose multiple times to flip back and forth between column and row (z""""""") If you only want the transpose and not the complex conjugate transpose then use dot. Accessing specific number in array z = [-10 5 4] z(1) % -10 z(2) % 5 z(3) % 4.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents