ENME 202 Lecture Notes - Lecture 4: Conjugate Transpose, Row And Column Vectors, Matlab
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.