Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- vlookup vactor vs. scalar output

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-22-2013
01:15 PM

11-22-2013
01:15 PM

Hi Mathcad Users,

I am using PTC Mathcad Express Prime 3.0 for the first time.

In the attached file, I have G & w being pulled correctly using the vlookup function, but I would like the results in full Matrix format that I could then use for further work - Basically, I want my G & w matrices to look like G_desired & w_desired.

Any practical tips on how to accomplish this would be appreciated.

Thanks,

Joseph Thodiyil

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-22-2013
01:29 PM

11-22-2013
01:29 PM

Maybe that way

BTW, in accessing the elements of a vector (= n x 1 matrix) you do not need to specify the second index (,0).

The [0 at the end of the lookup call return the first element of the vector which is returned by lookup. lookup has to return a vector as it may be that it finds more than one occurence of the given parameter.

1 REPLY 1

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-22-2013
01:29 PM

11-22-2013
01:29 PM

Maybe that way

BTW, in accessing the elements of a vector (= n x 1 matrix) you do not need to specify the second index (,0).

The [0 at the end of the lookup call return the first element of the vector which is returned by lookup. lookup has to return a vector as it may be that it finds more than one occurence of the given parameter.