Skip to main content
1-Visitor
August 28, 2014
Solved

RE: define the column and rows in a matrix

Is there a way of defining the number of matrix rows and columns just by say setting up a function? i.e. if I want a 5x5 matrix I can just type 5 and 5 in two functions and the matrix will auto generate

RichardJAnswer
19-Tanzanite
September 4, 2014

Does this do what you want?

34 replies

1-Visitor
August 28, 2014

If you are referring to a matrix with empty placeholders, unfortunately not.

Translate
gbradley1-VisitorAuthor
1-Visitor
August 28, 2014

yes, then you can enter your data. is the only way to add or delete lines is by clicking on the matrix tab again? if so thats pretty poor

Translate
Werner_E
25-Diamond I
August 28, 2014

So you are referring to Prime??

Try Shift-Enter and/or Shift-Tab to add rows and columns. (one of the very few things which are more convenient in Prime than in Mathcad).

Translate
Werner_E
25-Diamond I
August 28, 2014

Gareth Bradley wrote:

Is there a way of defining the number of matrix rows and columns just by say setting up a function? i.e. if I want a 5x5 matrix I can just type 5 and 5 in two functions and the matrix will auto generate

Sure you can do that. But what do you mean with "just type 5 and 5 in two functions"?

Could it be that the command "matrix" is what you are looking for?

Otherwise you will have to provide an example of what exactly you are after.

Translate
gbradley1-VisitorAuthor
1-Visitor
August 28, 2014

As attached.

Translate
19-Tanzanite
September 4, 2014

Here's an improved version.

Translate