cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Putting headers on a matrix?

ptc-4451268
1-Newbie

Putting headers on a matrix?

Hello,

I would like to be able to label a matrix. For instance, If i have a 2x2 matrix:

| 1 2 |

| 3 4 |

I want to be able to state what this data is, so for instance:

Cycle 1 Cycle 2

Min: | 1 2 |

Max | 3 4 |

Is there a way I can do this? I want to be able to use the matrix later, therefore I don't want to make the matrix larger just to put in headers.

8 REPLIES 8
MikeArmstrong
5-Regular Member
(To:ptc-4451268)

You will have to increase the size of the matrix and insert the labels as strings. That's if you want to use Mathcads matrices.

Mike

RichardJ
19-Tanzanite
(To:ptc-4451268)

See here: Extra Components.mcd

There's a textbox towards the end of the worksheet that does what you want. To avoid expanding your matrix you can either put all the stack/augment stuff in the argument to the textbox, or, if you are feeling brave, modify the script so it takes the column and row headers as additional arguments.

Maybe this will help (in Mathcad Prime 2.0):

Pic_1.png

h_nas
4-Participant
(To:VladimirN)

Thanks for the info.

MikeArmstrong
5-Regular Member
(To:h_nas)

If you have Prime you can use the new Table feature.

Mike

Mike Armstrong wrote:

If you have Prime you can use the new Table feature.

Mike

Sorry, for input but not for output!

MikeArmstrong
5-Regular Member
(To:ValeryOchkov)

Sorry, for input but not for output!

I know Valery, That is a gripe of mine with the new table feature.

Mike

MikeArmstrong
5-Regular Member
(To:ptc-4451268)

What version of Mathcad are you using?

Mike

Top Tags