Created
December 23, 2020 05:06
-
-
Save Irene-123/8c529f906d8ae7270d23477946302314 to your computer and use it in GitHub Desktop.
Octave experiment
This file contains hidden or 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
a=magic(4); | |
fprintf('The original matrix is:\n'); | |
disp(a); | |
b=a.'; | |
fprintf('\n'); | |
fprintf('The transposed matrix is :\n'); | |
disp(b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment