【机器学习】Octave矩阵,向量的表示

CS229中需要用到Octave来做,张量的存储是必备的知识点,记录一下备用: % The ; denotes we are going back to a new row. A = [1, 2, 3; 4, 5, 6; 7, 8, 9; 10, 11, 12] % Initialize a vector v = [1;2;3] % Get the dimension of the mat
相关文章
相关标签/搜索