Skip to main content
1-Visitor
October 30, 2010
Solved

How to find square root of a matrix

  • October 30, 2010
  • 3 replies
  • 28903 views

How do you find the square of an each individual element of a matrix.

Best answer by RichardJ

Based on the title of the post, I assume you mean the square root of each individual element of a matrix.

3 replies

RichardJ19-TanzaniteAnswer
19-Tanzanite
October 30, 2010

Based on the title of the post, I assume you mean the square root of each individual element of a matrix.

1-Visitor
October 30, 2010

thank you btw this only works for square matrixes.

mine isn't square.

1-Visitor
October 30, 2010

Clipboard01.gif

Mike

1-Visitor
October 30, 2010

Here we go again

Clipboard01.gif

Mike

19-Tanzanite
October 30, 2010

I didn't bother trying that, because I assumed it would not work. I'm a little surprised it does!

1-Visitor
October 30, 2010

Not even sure why I tried it!

Mike

12-Amethyst
October 30, 2010

Ziyad,

Just a comment, in your prior posts I think you commend on the speed of the calculaitions.

In the Help, something like "features in depth", they talk about using the vectorize operation and it being slow, so if you are dealing with large matrices the program that Richard provided is recommended. In your prior posts the vectoirze operator is used a lot, it looks nice, but maybe to speed up you might want to replace some of the operations with a program.

19-Tanzanite
October 30, 2010

In the Help, something like "features in depth", they talk about using the vectorize operation and it being slow,

Are you sure? Vectorising is generally faster than an explicit loop. For this example, that is certainly the case.

12-Amethyst
October 30, 2010

Richard,

I havn't tested it, but please look at Quicksheets>Mathcad Techniques>Improving Calculation Speed.

If it is a natrual vectorization that is prgramed by Mathcad, it is fast, but using the vectorization operator, it is suppose to be slower.

Please let me know what you think.

Wayne