用了哈octave,好东西啊。记录哈。

首先他是干什么的。

1.数值计算,命令行下直接 1+1 马上显示等于2  ,不用点鼠标。不用在后面加上; 只需要1+1 然后enter 呵呵。有常用的数值计算函数。sin这些都是常见的。

2.可以画图*^◎^*用函数 画图。




实际操练


sudo apt-get install octave


安装成功然后:

octave 有了个提示符:

ub@ub-VirtualBox:~$ octave
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.


Octave was configured for "i686-pc-linux-gnu".


Additional information about Octave is available at http://www.octave.org.


Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html


Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).


For information about changes from previous versions, type `news'.


octave:1> 


 

 

octave:1> 1+1
ans =  2
octave:2> 


说说画图:

octave:2> y=1.100;
octave:3> x=5:10;
octave:4> plot(x,y);



如果你在ubuntu系统中。直接回弹出个图。

如果你在ssh 也会有一个字符界面的 图



对了忘记说了 退出命令exit 囧 这个是我试出来的。好多这样的命令行程序的教程都不说这个的。


有意思! 

 

转载于:https://my.oschina.net/xming4321/blog/104766

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值