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

RE: define the column and rows in a matrix

  • August 28, 2014
  • 34 replies
  • 14965 views

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

Best answer by RichardJ

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.

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

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).

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.

gbradley1-VisitorAuthor
1-Visitor
August 28, 2014

As attached.

19-Tanzanite
September 4, 2014

Here's an improved version.