Matlab基本函数-complex函数
来源:互联网 发布:苹果mac里的游戏 编辑:程序博客网 时间:2024/04/30 14:55
1、complex函数:创建复数
2、用法说明:
(1)z = complex(x,y) 函数创建复数z,输入的x,y必须同为变量或维数相同、相同数据类型的向量、矩阵或者多维数组。输出的结果跟输入的维数相同,返回值为a+b*i;
(2)y=complex(x) 返回结果为实部为x,所有虚部为0的复数,等价于y=complex(x,0)。
3、实例
>> x = complex(24,56)x = 24.0000 +56.0000i>> x = complex(3:7,6:9)Error using complexInput arrays must have the same size. >> x = complex(3:7,1:5)x = 3.0000 + 1.0000i 4.0000 + 2.0000i 5.0000 + 3.0000i 6.0000 + 4.0000i 7.0000 + 5.0000i>> x = complex(rand(3,4),rand(3,4))x = 0.1622 + 0.2290i 0.5285 + 0.8258i 0.2630 + 0.0782i 0.7482 + 0.9619i 0.7943 + 0.9133i 0.1656 + 0.5383i 0.6541 + 0.4427i 0.4505 + 0.0046i 0.3112 + 0.1524i 0.6020 + 0.9961i 0.6892 + 0.1067i 0.0838 + 0.7749i
- Matlab基本函数-complex函数
- Matlab基本函数-ceil函数
- Matlab基本函数-colormap函数
- Matlab基本函数-compass函数
- Matlab基本函数-conj函数
- Matlab基本函数-contrast函数
- Matlab基本函数-cylinder函数
- Matlab基本函数-disp函数
- Matlab基本函数-exp函数
- Matlab基本函数-expm函数
- Matlab基本函数-feather函数
- Matlab基本函数-fix函数
- Matlab基本函数-floor函数
- Matlab基本函数-format函数
- Matlab基本函数-ginput函数
- Matlab基本函数-hidden函数
- Matlab基本函数-imag函数
- Matlab基本函数-length函数
- OpenERP函數字段的應用
- 绿盟二面总结
- ip地址转换
- .NET 判断客户端是否为手机的函数
- 周鸿祎-----传统企业如何面对互联网挑战?
- Matlab基本函数-complex函数
- delphi 知道excel选中的单元格的行号
- java模拟多用户取款(多线程同步)
- OCP-1Z0-053-V12.02-227题
- POJ 2375 Cow Ski Area 郁闷的Tarjan
- 1459 Power Network
- uva 10303 - How Many Trees?(卡特兰数)
- mac 10.9 安装gdb
- Android之ViewGroup实现可拖动的GridView