Last active
May 29, 2020 23:14
-
-
Save ihzarizkyk/437ba050e061f0f04f67c3bc0c6c08e8 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
import numpy as np | |
matriksC = np.array([[1,2,3], | |
[4,5,6]]) | |
print("Matriks C : ") | |
print(matriksC) | |
transpose_matriks = np.transpose(matriksC) | |
print("Tranpose Matriks C : ") | |
print(transpose_matriks) | |
''' | |
Output : | |
Matriks C : | |
[[1 2 3] | |
[4 5 6]] | |
Tranpose Matriks C : | |
[[1 4] | |
[2 5] | |
[3 6]] | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment