create a numpy matrix code example
Example 1: numpy matrix in python 3
np.matrix([[1, 2], [3, 4]])
# matrix([[1, 2],
# [3, 4]])
Example 2: making a numpy matrix
np.matrix([[1, 2], [3, 4]])
np.matrix([[1, 2], [3, 4]])
# matrix([[1, 2],
# [3, 4]])
np.matrix([[1, 2], [3, 4]])