0
Performing dot product of a matrix on each row

Hi,

I have a two matrices A: (20000 by 3) and B: (3 by 20000).

I would like to perform dot product considering each row as one vector - i.e. first three elements in each row of A as one vector with three elements in each column of B as another vector. Essentially expecting a 20000 by 1 vector as result.

I am not sure how to perform this. A*B is giving matrix multiplication and result being 20000 by 20000.

Running a For loop on A(i,:)*B(:,i) gives result. But considering 20000 elements running a For loop is expensive computationally. I have many such matrices.

Any idea on how to do this?

Thank you.


Scilab 11-02-22, 7:54 p.m. SaiKiran22
0
Use .* In place of * For Matrix multiplication
03-03-22, 4:34 p.m. peerudma77@gmail.com

Best work you have done, this online website is cool with great facts and looks. I have stopped at this blog after viewing the excellent content. I will be back for more qualitative work. app store games


17-04-22, 3:55 p.m. KarriHardin

Login to add comment


0
The ivy saponins in the ivy extract have an inhibitory effect on elastase and hyaluronidase. The IC50 for elastase inhibition is 40.6μmol/L, and the IC50 for hyaluronic acid inhibition is 280.4μmol/L.The application of 1,3-butanediol extract of ivy has an inhibitory effect on the secretion of skin sebum. Ivy Leaf Extract wholesale
03-03-22, 7:32 p.m. browning


0
Thanks for sharing this. I really enjoyed reading it. It is very good. This is interesting as well as very engaging. I couldn't stop until I finished it. poppy playtime
08-03-22, 3:09 p.m. boardgamesaz


0
Allianz packers and Movers have proficiency in household shifting and vehicle moving services and also delivers outstanding services in office relocation ... Packers and Movers Kolkata to Chandigarh
10-03-22, 7:38 p.m. kodevi4853


0
I've got not long ago started off some sort of blog site, the internet people produce here possesses served everyone enormously. Appreciate it intended for all of your current time period & do the job. sa
16-03-22, 4:51 p.m. gahejis791


0
Considering this good product marriage counseling shreveport
21-03-22, 7:01 p.m. geebranz


0
This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work free to play mobile
18-04-22, 1:03 p.m. JoshuaMerryman


0
Alice Tarot 24 hours, maximum seriousness and professionalism. 37 years serving people like you. buena vidente Sevilla
Oops! Looks like spam! Waiting for moderator approval.
28-04-22, 4:18 p.m. kakafoc49

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


0
However, it is important too because most probably you’ll be using both stroller and car seat very much. In this article, I am going to tell you about strollers compatible with Chicco keyfit 30. double stroller for chicco keyfit 30
Oops! Looks like spam! Waiting for moderator approval.
09-05-22, 9:20 p.m. kakafoc49

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


0
Leading online casino 789bet 789betting betnow game center, online gambling, online slots, online games, online sports, a system to make money with a link to get wealth. 789betting
Oops! Looks like spam! Waiting for moderator approval.
18-05-22, 10:07 p.m. kodevi4853

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


Log-in to answer to this question.