Skip to main content
1-Visitor
August 10, 2021
Solved

Getting Results of a Matrix or Array to Display in a Table

  • August 10, 2021
  • 2 replies
  • 4055 views

I have made a worksheet to mimic a calculation I did in Excel. It takes a list of data and uses it as a variable input, and returns a list of solutions based on the sequential input value. How do I make these values display in a summary table? I used what I think are matrices or arrays to do this. Worksheet is attached.

Best answer by LucMeekes

If you need the result in specific units:

LucMeekes_0-1628626536726.png

Success!

Luc

2 replies

23-Emerald IV
August 10, 2021

How neat this 'Table' thing in Prime is, it essentially is a collection of vectors that can only be used for input. You cannot use it to display results.

This would be nice:

LucMeekes_0-1628627008427.png

Beware, it doesn't work like you (might) think. See:

LucMeekes_1-1628627070159.png

You have to fill in the table below the f(x), it's not Prime doing it for you. Also note that (sometimes very confusing!) f(x) in the table is a vector, not (the calling of) a function f of x. See here:

LucMeekes_2-1628627329997.png

and

LucMeekes_3-1628627345691.png

.

Here's a possible table output for your resulting data:

LucMeekes_0-1628625976774.png

Prime 7 file attached.

Success!
Luc

LucMeekes23-Emerald IVAnswer
23-Emerald IV
August 10, 2021

If you need the result in specific units:

LucMeekes_0-1628626536726.png

Success!

Luc