<> = Notes = ^은 거듭제곱. 인덱스 1부터 시작. 기본적으로 소수점 넷째자리까지 표기. 더 표시하고 싶으면 {{{ format long }}} 원래대로 돌리려면 {{{ format }}} mod(a, b) a를 b로 나눈 [[나머지,remainder]](중 [[정수나눗셈,integer_division]]의 나머지) 모든 변수 지우고 초기화? {{{ clear all }}} 벡터 // [[벡터,vector]] {{{ a=[1 2 3 4] }}} 벡터 만들기 {{{ a=[시작 인덱스:간격:끝 인덱스] }}} 벡터의 크기 // i.e. [[길이,length]] {{{ length(a) }}} 벡터의 각 원소끼리 곱셈/나눗셈 - point-wise operation // point-wise_operation pointwise_operation(w) {{{ a.*b a./b }}} 익명함수 (lambda??) : 함수명 = @(arguments) body; {{{ circarea=@(r)pi*r.^2; }}} rand(n,m) 구간 $[0,1)$ 내의 숫자로 채워진 n행 m열 행렬을 돌려줌 X=rand(1,8)<0.5; Generate 1 row of [[베르누이_시행,Bernoulli_trial|Bernoulli trial]]s with p=0.5 ex. 0 1 1 0 0 0 1 1 = symbolic computing = [[symbolic_computing]] CAS관련? // computer_algebra_system 일단 syms명령으로 여러 심볼을 선언한다. 심볼들은 공백으로 구분. {{{ syms a b c }}} 식을 간단히 하려면 // [[단순화,simplification]] {{{ simplify(식) }}} = 그래프 그리기 = = 링크 = https://wiki.octave.org/Differences_between_Octave_and_Matlab https://en.wikibooks.org/wiki/MATLAB_Programming https://en.wikibooks.org/wiki/MATLAB_Programming/Differences_between_Octave_and_MATLAB http://www.scholarpedia.org/article/MATLAB Octave Online is a web UI for GNU Octave https://octave-online.net/ = (tmp, wikiadmin) = [[매트랩,MATLAB]] [[옥타브,Octave]]