imag在matlab,Matlab基本函数-imag函数 | 学步园
1、imag函數(shù):求復(fù)數(shù)的虛部部分
2、用法說(shuō)明
Y=imag(X) 函數(shù)計(jì)算復(fù)數(shù)X的虛數(shù)部分Y。輸出結(jié)果Y與輸入X的維數(shù)相同,返回值為復(fù)數(shù)數(shù)組X中的每個(gè)復(fù)數(shù)的虛部
3、舉例說(shuō)明
>> 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
總結(jié)
以上是生活随笔為你收集整理的imag在matlab,Matlab基本函数-imag函数 | 学步园的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: android手机两年变卡,安卓手机用一
- 下一篇: photoshop图像滤镜——素描算法(