官术网_书友最值得收藏!

Installing Octave and linking it to Jupyter

Follow these steps to install Octave:

  1. To install the Octavekernel linked to Anaconda, at Anaconda Prompt, we log in by issuing the Anaconda login command. Note that in order to log in, users have to register first at https://anaconda.org. After logging in to Anaconda, we could issue the following command:
pip install octave_kernel
  1. After we launch Jupyter and click New on the right-hand side, we can see Octave, among other languages:
  1. Now we can test a simple program in Octave:
x=-9:0.1:9; 
y=sin(x); 
plot(x,y) 
  1. The related output is shown here:
主站蜘蛛池模板: 樟树市| 屏南县| 兴义市| 新竹县| 巨鹿县| 青河县| 仁化县| 平阴县| 呼伦贝尔市| 综艺| 德惠市| 贡嘎县| 饶河县| 米易县| 镇江市| 榆树市| 上蔡县| 广南县| 伊金霍洛旗| 东方市| 观塘区| 浦城县| 铜川市| 张北县| 文登市| 洞头县| 宣城市| 金堂县| 威远县| 泾源县| 探索| 大同县| 乌审旗| 文登市| 滦平县| 宽城| 忻州市| 翼城县| 拜城县| 特克斯县| 东平县|