matlab中real 函数:来Real part of complex number复数的实自部数值Syntax语法X = real(Z)Description描述2113X = real(Z) returns the real part of the elements of the complex array Z.X=real(Z)返回复数阵列5261Z每个元素的4102实部。Examples例如:real(2+3*i) is 2.Real(2+3*i)的结1653果是2,Yn=n.*n 就可以了www.mh456.com防采集。
matlab中real 函数bai:Real part of complex number复数的实部数值Syntax语法duX = real(Z)Description描述zhiX = real(Z) returns the real part of the elements of the complex array Z.X=real(Z)返回复数阵列daoZ每个元素的实部。回Examples例如:real(2+3*i) is 2.Real(2+3*i)的结答果是2。
对于一个复数a,real函数是求实部,imag函数求虚部,abs 函数是求模,angle函数求这个复数在复平面内的角度 下面是个例子 a=1-i a = 1.0000 - 1.0000i >> real(a) ans = 1 >> imag(a) ans = -1 >> abs(a) ans = 1.4142 >> angle(a) ans = -0.7854
内容来自www.mh456.com请勿采集。