Created
July 19, 2017 14:04
-
-
Save rayryeng/7738ff3406ef56948a0e35b8640d3142 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GNU Octave, version 4.0.3 | |
Copyright (C) 2016 John W. Eaton and others. | |
This is free software; see the source code for copying condition | |
s. | |
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or | |
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'. | |
Octave was configured for "i686-w64-mingw32". | |
Additional information about Octave is available at http://www.o | |
ctave.org. | |
Please contribute if you find this software useful. | |
For more information, visit http://www.octave.org/get-involved.h | |
tml | |
Read http://www.octave.org/bugs.html to learn how to submit bug | |
reports. | |
For information about changes from previous versions, type 'news | |
'. | |
>> a = magic(5) | |
a = | |
17 24 1 8 15 | |
23 5 7 14 16 | |
4 6 13 20 22 | |
10 12 19 21 3 | |
11 18 25 2 9 | |
>> k=a,3 | |
k = | |
17 24 1 8 15 | |
23 5 7 14 16 | |
4 6 13 20 22 | |
10 12 19 21 3 | |
11 18 25 2 9 | |
ans = 3 | |
>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment