Python Forum
1 dimension Matrix Right Division
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
1 dimension Matrix Right Division
#1
I have 2 matrix, A=[2,5] and B=[ 65,40 ]. In Matlab i can run the right matrix division A/B = 0.0567.
 How can i do it in Python?
Reply
#2
If you want to do calculations with matrices, you'll probably want to take a look at numpy
I don't really know what exactly you need, but it shouldn't be hard to find in the numpy docs.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Apply rolling window function over time dimension of 3D data Staph 0 2,160 Jan-01-2020, 08:31 AM
Last Post: Staph
  division error mcgrim 8 3,604 May-07-2019, 12:07 PM
Last Post: mcgrim
  Calculate the mean of an array across dimension with lists of different length rakhmadiev 2 4,484 Aug-01-2017, 02:52 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020