The (.) operator is the simplest and easiest approach to find the transpose but there are high chances of syntax error in using this operator Method 2: Using Transpose function The sign of imaginary parts remains the same as in the input matrix. Observing the output only rows and columns are interchanged. If you only want to transpose of a complex matrix, then use (‘) this operator along with a dot operator. You can observe from the output on applying (‘) operator on the matrix A, the signs of imaginary parts of all the elements are reversed. Let’s understand this by a simple example. Example 1:įor a vector or matrix with complex numbers, the (‘) operator interchanges rows with columns and generate the complex conjugate vector or a matrix in which the sign of the imaginary part of each complex element changes. The operator when applied on input return a resultant output vector or matrix whose number of rows is equal to the number of columns of the input vector or matrix and the number of columns is equal to the number of rows in the input vector or matrix. The syntax is given below: Output = Input.' The first method uses a dot operator (.’) to find the transpose. In Matlab, there are three ways to take the transpose of a matrix which are:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |