Skip to main content
1-Visitor
March 6, 2011
Solved

Mathcad Prime

  • March 6, 2011
  • 13 replies
  • 10055 views

Prime Users,

Does Mathcad Prime has a built-in function to find the squareroot of a matrix?

I do not see one with my M14.

Thanks...

Best answer by RichardJ

Here's a very handy function that Alvaro posted some time ago. It allows you to apply any function to a matrix. In this case, the downside compared to the solve block approach is that you can't find different roots by changing the guess values.

13 replies

24-Ruby IV
March 6, 2011

I see only 2 new built-in tools for an array in Mathcad Prime:

- return a row of a matrix

- return a norm of a vector/matrix

Sorry I think you must create/search an user tools for your task (A=S^2 - it is not a square root of the each element of A - see the attach) in Mathcad 14/15 and Mathcad Prime!

See http://communities.ptc.com/thread/33064

19-Tanzanite
March 6, 2011

Raj sharma wrote:

Prime Users,

Does Mathcad Prime has a built-in function to find the squareroot of a matrix?

I do not see one with my M14.

Thanks...

Depends what sort of square root you mean - see attached.

Alan

24-Ruby IV
March 7, 2011

Sorry,

but a matrix 2x2 is not a problem.

A problem is a matrix 3x3 and more.

19-Tanzanite
March 7, 2011

Valery Ochkov wrote:

Sorry,

but a matrix 2x2 is not a problem.

A problem is a matrix 3x3 and more.

Yes, I just used the 2x2 as an example. See attached (in M11 format - though generated in M15) for more general n'th root of matrix function. It includes a 3x3 example!

Alan