zoukankan      html  css  js  c++  java
  • Matlab中 .' 的作用。

    Syntax

    B = A.'
    B = transpose(A)
     

    Description

    B = A.' returns the nonconjugate transpose of A, that is, interchanges the row and column index for each element. If Acontains complex elements, then A.' does not affect the sign of the imaginary parts. For example, if A(3,2) is 1+2i and B = A.', then the element B(2,3) is also 1+2i.

    B = transpose(A) is an alternate way to execute A.' and enables operator overloading for classes.

    Create a matrix containing complex elements and compute its nonconjugate transpose. B contains the same elements as A, except the rows and columns are interchanged. The signs of the imaginary parts are unchanged.

    A = [1 3 4-1i 2+2i; 0+1i 1-1i 5 6-1i]
    A = 
       1.0000 + 0.0000i   3.0000 + 0.0000i   4.0000 - 1.0000i   2.0000 + 2.0000i
       0.0000 + 1.0000i   1.0000 - 1.0000i   5.0000 + 0.0000i   6.0000 - 1.0000i
    
    
    B = A.'
    B = 
       1.0000 + 0.0000i   0.0000 + 1.0000i
       3.0000 + 0.0000i   1.0000 - 1.0000i
       4.0000 - 1.0000i   5.0000 + 0.0000i
       2.0000 + 2.0000i   6.0000 - 1.0000i
    

    Create a 2-by-2 matrix with complex elements.

    A = [0-1i 2+1i;4+2i 0-2i]
    A = 
       0.0000 - 1.0000i   2.0000 + 1.0000i
       4.0000 + 2.0000i   0.0000 - 2.0000i
    
    

    Find the conjugate transpose of A.

    B = A'
    B = 
       0.0000 + 1.0000i   4.0000 - 2.0000i
       2.0000 - 1.0000i   0.0000 + 2.0000i
    
    

    The result, B, contains the elements of A with the row and column indices interchanged. The sign of the imaginary part of each number is also switched.

  • 相关阅读:
    CentOS6.5卸载自带的Mysql软件
    Oracle 监听hang住
    mysql忘记root登录密码
    根据linux自带的JDK,配置JAVA_HOME目录
    nbu还原集群数据库异常问题
    Oracle11g RAC安装
    linux系统安装步骤
    oracle11g安装补丁升级
    linux系统安装Oracle11g详细步骤
    Express之Hello World示例
  • 原文地址:https://www.cnblogs.com/250101249-sxy/p/10627342.html
Copyright © 2011-2022 走看看