comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Matrix a*b in loop
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Matrix a*b in loop [message #89043] Thu, 17 July 2014 14:16 Go to previous message
Gompie is currently offline  Gompie
Messages: 76
Registered: August 2012
Member
Hi,
I have a simple question.

I have two matricies A (696 , 1523854 ) and B (1,696) Matrix .
I wish to have a matrix c whose each row is a product of rows elements of a and b i.e a*b

I can do it in a loop by saying a(:,i)*b but it takes a lot of time because I (~1523854 ) would be very large number. Is it possible to do it in one go.

Thanks
GlanPlot
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: How to disable tick labels on right and top when using cgMap?
Next Topic: MIN(), MAX() with NaN values

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:22:33 PDT 2025

Total time taken to generate the page: 0.00446 seconds