Dot Product (.*)
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
Dot Product (.*)
How do I multiply two matrices pairwise? I cannot figure this out. In MATLAB, I could for example do: C=A.*B, where C(i,j) will equal A(i,j)*B(i,j). Thank you for the help.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13585
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Dot Product (.*)
Code: Select all
Matrix CC = @emult(a,b)
Re: Dot Product (.*)
Thank you. Is emult() a new command in Eviews 6 or 7? I have Eviews 5 and this does not work.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13585
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Dot Product (.*)
It does not exist in EViews 5.
Who is online
Users browsing this forum: No registered users and 2 guests
