打印

matlab的类似应用,免费的octave

[复制链接]
978|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
huangxz|  楼主 | 2016-12-1 17:58 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
沙发
gaoyang9992006| | 2017-2-28 19:56 | 只看该作者
Octave是一种高层解释类编程语言,旨在解决线性和非线性的数值计算问题。Octave为GNU项目下的开源软件,早期版本为命令行交互方式,4.0.0版本发布基于QT编写的GUI交互界面。Octave语法与Matlab语法非常接近,可以很容易的将matlab程序移植到Octave。同时与C++,QT等接口较Matlab更加方便

使用特权

评论回复
板凳
gaoyang9992006| | 2017-2-28 19:57 | 只看该作者
本帖最后由 gaoyang9992006 于 2017-2-28 19:59 编辑

Syntax Examples
The Octave syntax is largely compatible with Matlab. The Octave interpreter can be run in GUI mode, as a console, or invoked as part of a shell script. More Octave examples can be found in the wiki.
b = [4; 9; 2] # Column vector
A = [ 3 4 5;
      1 3 1;
      3 5 9 ]
x = A \ b     # Solve the system Ax = b

Solve systems of equations with linear algebra operations on vectors and matrices.
x = -10:0.1:10; # Create an evenly-spaced vector from -10..10
y = sin (x);    # y is also a vector
plot (x, y);
title ("Simple 2-D Plot");
xlabel ("x");
ylabel ("sin (x)");


使用特权

评论回复
地板
gaoyang9992006| | 2017-2-28 20:01 | 只看该作者

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

170

主题

4893

帖子

11

粉丝