Mac OS X YES에 Octave 설치
4079 단어 Octave
개시하다
Qiita의 첫 기고입니다.최근에는 복습웹 페이지 정보 기회가 있어 일주일 전에 산 맥북 프로에 옥타브를 넣었다.(Mac 초보자)
Mac 환경
차리다
기본적으로 사이트 축소판 그림의 절차에 따라 필요한 포장을 넣는다.
Octave 설치
방금 사이트의 "After dependencies"프로젝트의 마지막 부분에서octave를 설치할 때 다음과 같은 오류가 발생합니다.
$ brew install octave
Error: No available formula for octave
Searching formulae...
Searching taps...
homebrew/science/octave Caskroom/cask/octave Caskroom/cask/octave
이 경우 다음을 tap하십시오.
$ brew tap homebrew/science
==> Tapping Homebrew/science
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-science'...
remote: Counting objects: 10385, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 10385 (delta 4), reused 0 (delta 0), pack-reused 10375
Receiving objects: 100% (10385/10385), 2.78 MiB | 1.29 MiB/s, done.
Resolving deltas: 100% (5798/5798), done.
Checking connectivity... done.
Tapped 488 formulae (514 files, 5.3M)
이렇게 되면 홈bre/science가 설치되고 다시 octave를 설치합니다.설치하는 데 시간이 좀 걸립니다.
$ brew install octave
마지막으로 octave를 시작합니다.
$ octave
No Java runtime present, requesting install.
자바가 없네.나는 설치했다는 욕을 먹었다.Java8이 있는 경우에도 Java6를 설치해야 합니다.
여기.에서 다운로드하여 설치한 후 Octave를 다시 시작하면$ octave
GNU Octave, version 3.8.2
Copyright (C) 2014 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
Octave was configured for "x86_64-apple-darwin14.1.0".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html
Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.
octave:1>
별다른 경고 없이 잘 작동했어요!
일단 동작부터 확인해.octave:1> w = 10 + sqrt(10)*(randn(1,10000));
octave:2> hist(w)
Reference
이 문제에 관하여(Mac OS X YES에 Octave 설치), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/ykoga/items/614c81a9d679b86ca96a
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
방금 사이트의 "After dependencies"프로젝트의 마지막 부분에서octave를 설치할 때 다음과 같은 오류가 발생합니다.
$ brew install octave
Error: No available formula for octave
Searching formulae...
Searching taps...
homebrew/science/octave Caskroom/cask/octave Caskroom/cask/octave
이 경우 다음을 tap하십시오.
$ brew tap homebrew/science
==> Tapping Homebrew/science
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-science'...
remote: Counting objects: 10385, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 10385 (delta 4), reused 0 (delta 0), pack-reused 10375
Receiving objects: 100% (10385/10385), 2.78 MiB | 1.29 MiB/s, done.
Resolving deltas: 100% (5798/5798), done.
Checking connectivity... done.
Tapped 488 formulae (514 files, 5.3M)
이렇게 되면 홈bre/science가 설치되고 다시 octave를 설치합니다.설치하는 데 시간이 좀 걸립니다.
$ brew install octave
마지막으로 octave를 시작합니다.
$ octave
No Java runtime present, requesting install.
자바가 없네.나는 설치했다는 욕을 먹었다.Java8이 있는 경우에도 Java6를 설치해야 합니다.여기.에서 다운로드하여 설치한 후 Octave를 다시 시작하면
$ octave
GNU Octave, version 3.8.2
Copyright (C) 2014 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
Octave was configured for "x86_64-apple-darwin14.1.0".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html
Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.
octave:1>
별다른 경고 없이 잘 작동했어요!일단 동작부터 확인해.
octave:1> w = 10 + sqrt(10)*(randn(1,10000));
octave:2> hist(w)
Reference
이 문제에 관하여(Mac OS X YES에 Octave 설치), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/ykoga/items/614c81a9d679b86ca96a텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)