Skip to main content
7-Bedrock
May 27, 2023
Question

Matrix

  • May 27, 2023
  • 1 reply
  • 1708 views

How to give heading to matrix in Prime? 

1 reply

25-Diamond I
May 27, 2023

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

 

 

7-Bedrock
May 30, 2023

@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

 

23-Emerald IV
May 30, 2023

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