表达式举例

优质
小牛编辑
140浏览
2023-12-01

你已经看过一些MATLAB表达式的例子,下面再举一些例子和运算结果。

    rho = (1+sqrt(5))/2
    rho =
        1.6180
    
    a = abs(3+4i)
    a =
         5
    
    z = sqrt(besselk(4/3,rho-i))
    z =
       0.3730+ 0.3214i
    
    huge = exp(log(realmax))
    huge =
      1.7977e+308
    
    toobig = pi*huge
    toobig =
       Inf