Skip to main content
1-Visitor
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

Does this do what you want?

34 replies

1-Visitor

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

Translate
gbradley1-VisitorAuthor
1-Visitor

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

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

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

As attached.

Translate
19-Tanzanite

Here's an improved version.

Translate