Guest User

Untitled

a guest
May 25th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. import numpy as np
  2.  
  3. M = np.matrix([[-4.41991030e-05,-9.27712599e-04,3.75797779e-04,4.11804326e-04,1.08815444e-04],
  4. [-3.58432112e-04,-6.11583291e-04,1.18565910e-03,4.10337098e-04,9.96854953e-05],
  5. [-1.36865905e-03,1.19013259e-03,1.62785645e-03,1.85052363e-04,6.73256050e-05],
  6. [-0.00292639,-0.0084904,-0.00337932,-0.00014984,0.0001385]])
  7.  
  8. print(M)
  9.  
  10. with open('file.txt', 'w') as f:
  11. for row in M:
  12. f.write(str(row))
  13. f.write('n')
Add Comment
Please, Sign In to add comment