首页 > 代码库 > Octave安装和使用

Octave安装和使用

1. Installer  Download

octave4.0

gnuplot 5.0.4

 

2. Installation

(1) Octave

 安装Octave时提示发现系统装有Win8,继续安装可能导致启动失败。选择继续安装。

 support页面

documentation

 how to install Octave Forge Packages

  • Start Octave and then open the build_packages.m file found in the src folder where Octave was installed.
  • Run the script build_packages.m to build and install the packages.

 Installation is a one-time procedure. After installation packages must still be loaded in order to use them with the pkg load PACKAGENAME command.

Other packages are available from Octave-Forge.

(2) gnuplot

是一个命令行驱动的可交互的绘图工具,可绘制2维和3维图像。

demos

References: 

http://wiki.octave.org/Octave_for_Microsoft_Windows#gnuplot

octave readme

=====================

>>> a = pi;

>>> disp(sprintf(‘9 decimals: %0.100f‘,a))

9 decimals: 3.1415926535897931159979634685441851615905761718750000000000000000000000000000000000000000000000000000

1. 似乎pi只正确显示了前十几位。

2. 使用hist绘图,绘图窗口弹出,空白,卡住。 google搜索

Plot window not responding

Always not responding/freeze when use plot with QtOctave

 

Octave安装和使用