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

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:
主站蜘蛛池模板: 肃北| 巴里| 景洪市| 施甸县| 兴城市| 黄梅县| 南木林县| 林口县| 中宁县| 泰兴市| 甘孜县| 安图县| 商丘市| 龙岩市| 平昌县| 营口市| 邢台县| 驻马店市| 监利县| 石首市| 江口县| 静乐县| 兴城市| 天津市| 乐山市| 镇原县| 舞阳县| 渑池县| 翁源县| 柳河县| 台山市| 涟源市| 南宫市| 扎囊县| 射洪县| 沛县| 龙门县| 广汉市| 宜兴市| 长治市| 红桥区|