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

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:
主站蜘蛛池模板: 迁安市| 辽源市| 宁河县| 渑池县| 永兴县| 如皋市| 吴忠市| 吐鲁番市| 班玛县| 汝南县| 女性| 扎囊县| 乌兰浩特市| 盱眙县| 藁城市| 崇州市| 沭阳县| 遵义市| 密山市| 桑植县| 长治市| 韶山市| 澎湖县| 定安县| 吐鲁番市| 南汇区| 洛宁县| 南充市| 平昌县| 陵川县| 东丰县| 遂溪县| 盱眙县| 仪征市| 资溪县| 滨州市| 广州市| 万载县| 漳州市| 青州市| 扬州市|