imag在matlab,Matlab基本函数-imag函数 | 学步园
生活随笔
收集整理的這篇文章主要介紹了
imag在matlab,Matlab基本函数-imag函数 | 学步园
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1、imag函數:求復數的虛部部分
2、用法說明
Y=imag(X) 函數計算復數X的虛數部分Y。輸出結果Y與輸入X的維數相同,返回值為復數數組X中的每個復數的虛部
3、舉例說明
>> x = [1.2+2.3i 4+5.3i 34-123.456i 78-123456.78967i]
x =
1.0e+05 *
0.0000 + 0.0000i 0.0000 + 0.0001i 0.0003 - 0.0012i 0.0008 - 1.2346i
>> y = imag(x)
y =
1.0e+05 *
0.0000 0.0001 -0.0012 -1.2346
4、附錄
>> help imag
imag Complex imaginary part.
imag(X) is the imaginary part of X.
See I or J to enter complex numbers.
See also real, isreal, conj, angle, abs.
Overloaded methods:
codistributed/imag
gpuArray/imag
iddata/imag
Reference page in Help browser
doc imag
總結
以上是生活随笔為你收集整理的imag在matlab,Matlab基本函数-imag函数 | 学步园的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: android手机两年变卡,安卓手机用一
- 下一篇: photoshop图像滤镜——素描算法(