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
- :
- 9x1 matrix

Options

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

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

Showing results for

Highlighted
##

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

11-09-2015
05:02 AM

11-09-2015
05:02 AM

9x1 matrix

Hi,

I am calculating COG of a stack of 9 elements. I want to create a 9x1 matrix where the first row contains cog of all element above element 1, row 2 contains cog of all elements above element 2 - and so on. I have solved this by making a 9x1 matrix and putting in the cog formula in every single cell. I do not like this because it takes up so much space and it looks quite bad. Is there a way of telling Mathcad that "i" should increase by 1 in each row such that my expression can be expressed in 1 line? Or is there another neater way of achieving the same goal?

Another thing could be that Mathcad will only show row 1 to 9, and that the other ones will be visible when I edit that matrix, but I can't find an option for that either.

4 REPLIES 4

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

11-09-2015
08:47 AM

11-09-2015
08:47 AM

Re: 9x1 matrix

There are probably a number a ways this can be achieved. You could use a For Loop which would reduce the space within the worksheet

Please post the worksheet.

Mike

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

11-09-2015
09:01 AM

11-09-2015
09:01 AM

Re: 9x1 matrix

Try:

Alan

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

11-09-2015
09:23 AM

11-09-2015
09:23 AM

Re: 9x1 matrix

Thank you, exactly what I wanted

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

11-09-2015
09:24 AM

11-09-2015
09:24 AM

Re: 9x1 matrix

thought about it, but I only have express version, so I dont have access to programming features. I got what I wanted from the comment by Alan.

Thank you for your time.

Top Tags