Python | Numpy matrix.std() (original) (raw)
Last Updated : 20 May, 2019
With the help of **matrix.std()**
method, we are able to find the standard deviation a matrix by using the same method.
Syntax :
matrix.std()
Return : Return standard deviation of a matrix
**Example #1 :**In this example we are able to find the standard deviation of a matrix by using matrix.std()
method.
Python3 1=1 `
import the important module in python
import numpy as np
make matrix with numpy
gfg = np.matrix('[4, 1; 12, 3]')
applying matrix.std() method
geek = gfg.std()
print(geek)
`
Example #2 :
Python3 1== `
import the important module in python
import numpy as np
make matrix with numpy
gfg = np.matrix('[4, 1, 9; 12, 3, 1; 4, 5, 6]')
applying matrix.std() method
geek = gfg.std()
print(geek)
`