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

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:
主站蜘蛛池模板: 岱山县| 五台县| 东莞市| 广州市| 繁昌县| 额敏县| 东源县| 龙游县| 贵南县| 上高县| 固安县| 安义县| 荃湾区| 南宫市| 囊谦县| 无极县| 醴陵市| 冕宁县| 新绛县| 正阳县| 张掖市| 双辽市| 岳阳县| 永嘉县| 会昌县| 无为县| 栾城县| 鹤庆县| 从江县| 江西省| 漳浦县| 西丰县| 德阳市| 咸宁市| 东至县| 青海省| 福清市| 开远市| 衡南县| 康平县| 峨眉山市|