BookmarkSubscribeRSS Feed
JChan10
Calcite | Level 5
Hi.

How can I multiply two tables easily?
(e.g. 3x4 table multiply with 4x1 table to become 3x1 tables)

Table 1
A B C D
0 1 0 1
1 0 1 0
1 1 1 1

Table 2
a 12
b 3
c 5
d 7

Output = A*a +B*b +C*c+D*d
A B C D Output
0 1 0 1 10
1 0 1 0 17
1 1 1 1 27
1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12
That's reasonably easy to do in IML, but it is not what EGuide was designed for. Check out the SAS/IML Studio in 9.2 .

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 593 views
  • 0 likes
  • 2 in conversation