[[TableOfContents]] == Octave == * [https://www.gnu.org/software/octave/ 공식 홈페이지] == 기본 산술, 논리 연산 == attachment:Elementary_Operation.PNG * ~= : not equal * false : 0 * true : 1 == 행렬 만들기 == {{{ A = [1 2; 3 4; 5 6] }}} attachment:Matrix1.PNG * ;는 다음 행으로 넘어간다는 표시 {{{ A = 1:0.1:2 }}} attachment:matrix2.PNG {{{ A = ones(1, 3) B = zeros(2, 3) }}} attachment:Matrix3.PNG {{{ eye (2) }}} attachment:eyem.png * identity matrix를 만들어 줌. == 행렬 크기 == === size === {{{ size([1; 2; 3; 4]) * 결과 ans = 4 1 4 rows 1 column }}} === length === {{{ length([3 2; 2 3; 1 3]) * 결과 ans = 3 }}} * 행렬의 열과 행의 길이 중에 큰 값이 나옴. == 기타 함수 == {{{ w = -6 + sqrt(10) * (randn(1, 10000)) hist(w) }}} * hist(w) : w에 대한 histogram을 보여줌. {{{ help }}} * 도움말 ---- [MachineLearning스터디]