用Mathematica编辑txt文档

2024-10-12 08:46:35

1、把Integrate[Sin[x], x]的运行结果写入一个纯文本文档里面。

用Mathematica编辑txt文档

3、执行第二段命令的时候,会把txt文档前面的内容覆盖。这第二行,往txt里面写入运行结果的传统形式,此时,前面的内容不见了。

用Mathematica编辑txt文档

5、把一幅图片导入到txt里面,得到的是像素数据。

用Mathematica编辑txt文档
猜你喜欢