Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy as np
- M = np.matrix([[-4.41991030e-05,-9.27712599e-04,3.75797779e-04,4.11804326e-04,1.08815444e-04],
- [-3.58432112e-04,-6.11583291e-04,1.18565910e-03,4.10337098e-04,9.96854953e-05],
- [-1.36865905e-03,1.19013259e-03,1.62785645e-03,1.85052363e-04,6.73256050e-05],
- [-0.00292639,-0.0084904,-0.00337932,-0.00014984,0.0001385]])
- print(M)
- with open('file.txt', 'w') as f:
- for row in M:
- f.write(str(row))
- f.write('n')
Add Comment
Please, Sign In to add comment