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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Matrix

SP_9781969
7-Bedrock

Matrix

How to give heading to matrix in Prime? 

4 REPLIES 4
Werner_E
25-Diamond I
(To:SP_9781969)

Prime (fortunately) works differently than a spreadsheet 😉

This (unfortunately) also means that we do not have much or no options to prettify a matrix when it comes to display a matrix, e.g. by adding nicely formatted row and/or column headers, format single cells, etc.

You may add a first row with the headers as text (probably with "stack"), but it looks a bit ugly because of the quotes and this header can then also interfere with later calculations.

Depending on your need using a table to input data might be an option for a nice display of input data. Here the "headers" actually are the names of the variables (which at the end are all single vectors).

Here is an example how it looks when you add textstrings as headers

Werner_E_1-1685209596199.png

 

 

@Werner_E 

I tried the same as image you provided but it is not getting through. I did not use any multiply operator but getting the same error 

 

SP_9781969_0-1685466695060.png

 

LucMeekes
23-Emerald III
(To:SP_9781969)

This should simply work:

LucMeekes_0-1685482913519.png

LucMeekes_1-1685482924919.png

What, exactly is the error message you get?

Please attach your worksheet.

 

Success!
Luc

 

Werner_E
25-Diamond I
(To:SP_9781969)

Can't see an error by visual inspection of the picture.

Just attach your worksheet so we can see whats going on

Announcements

Top Tags