使用Ubuntu系统安装Octave进行机器学习
1、使用apt-get install命令安装Octave:hxb@littleStar:~$ sudo apt-get install octave[sudo] hxb 的密码: 正在读取软件包列表... 完成正在分析软件包的依赖关系树 正在读取状态信息... 完成 下列软件包是自动安装的并且现在不需要了: linux-modules-4.15.0-20-generic使用'sudo apt autoremove'来卸载它(它们)。...


4、使用Octave矩阵和向量的运算>> A =[1,2,3;4,5,6;7,8,9]A = 1 2 3 4 5 6 7 8 9>> B =[2,3,4]B = 2 3 4>> C = A*Berror: operator *: nonconformant arguments (op1 is 3x3, op2 is 1x3)>> B=[2;3;4]B = 2 3 4>> C=A*BC = 20 47 74

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:93
阅读量:34
阅读量:58
阅读量:62
阅读量:61