Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MachineLearning스터디/Octave: Difference between revisions

From ZeroWiki
imported>trailblaze
No edit summary
imported>trailblaze
No edit summary
Line 15: Line 15:
  [[File:Matrix1.PNG]]
  [[File:Matrix1.PNG]]
* ;는 다음 행으로 넘어간다는 표시
* ;는 다음 행으로 넘어간다는 표시
  A = 1:0.1:2
[[File:matrix2.PNG]]
  A = ones(1, 3)
  B = zeros(2, 3)
[[File:Matrix3.PNG]]
  w = -6 + sqrt(10) * (randn(1, 10000))
  hist(w)
* hist(w) : w에 대한 histogram을 보여줌.
----
----
[[MachineLearning스터디]]
[[MachineLearning스터디]]



Revision as of 06:58, 14 February 2014

Octave

기본 산술, 논리 연산

Elementary Operation.PNG

  • ~= : not equal
  • false : 0
  • true : 1

행렬 만들기

 A = [1 2; 3 4; 5 6]
Matrix1.PNG
  • ;는 다음 행으로 넘어간다는 표시
 A = 1:0.1:2
Matrix2.PNG 
 A = ones(1, 3)
 B = zeros(2, 3)
Matrix3.PNG
 w = -6 + sqrt(10) * (randn(1, 10000))
 hist(w)
  • hist(w) : w에 대한 histogram을 보여줌.

MachineLearning스터디