I have a 1×1 matrix that contains a value. I want just the value.
matrix([[-0.16666667+0.66666667j]])
I want the complex number inside that matrix. How do I get it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
or, while we’re at it:
To convince the OP that the above is actually a complex number :^) —
[Edited to correct a sign difference between my number and the OP’s. Doesn’t change anything but couldn’t stand looking at it once I noticed..]