Mathematica常用命令
生活随笔
收集整理的这篇文章主要介绍了
Mathematica常用命令
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
文件操作
Mathematica的一行命令读取二进制bin文件:
BinaryReadList["file","type"]其中,file为bin文件的路径地址;type为bin文件的存储格式。
type的值有:
- "Byte" 8位无符号整数
- "Character8" 8位字符
- "Character16" 16位字符
- "Complex64" IEEE 単精度复数
- "Complex128" IEEE 双精度复数
- "Complex256" IEEE 四精度复数
- "Integer8" 8位符号整数
- "Integer16" 16位符号整数
- "Integer32" 32位符号整数
- "Integer64" 64位符号整数
- "Integer128" 128位符号整数
- "Real32" IEEE 単精度实数
- "Real64" IEEE 双精度实数
- "Real128" IEEE 四精度实数
- "TerminatedString" 由8位字符组成的以null结束的字符串
- "UnsignedInteger8" 8位无符号整数
- "UnsignedInteger16" 16位无符号整数
- "UnsignedInteger32" 32位无符号整数
- "UnsignedInteger64" 64位无符号整数
- "UnsignedInteger128" 128位无符号整数
数据处理
Rationalize
- 小数转换为分数
- Rationalize[0.1] ->1/10
Series
- 公式展开
- Series[1.0/Sqrt[1 - x^2], {x, 0, 10}]->
总结
以上是生活随笔为你收集整理的Mathematica常用命令的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: px4 uavcan linux,PX4
- 下一篇: 新松机器人电气三天考核_比技能更比匠心,