saving . . . saved exercise 1 has been deleted. exercise 1 has been hidden .
exercise 1
Title
Question
its showing asmatrix is not defined

m3=asmatrix(arange(5,13),reshape(2,4))

Python-3.4.3 Basic-Matrix-Operations 03-04 min 10-20 sec 05-05-21, 3:38 p.m. sakshiST

Answers:

Please ensure that you have initialised the pylab package.

To initialise type %pylab in your IPython terminal
09-07-21, 11:29 a.m. ankitrj.iitb


m3=np.asmatrix(np.arange(5,13).reshape(2,4))
^ This should work fine. 

10-02-22, 7:12 a.m. jesherjoshua.m2021@vitstudent.ac.in


Log-in to answer to this question.