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

How to find square root of a matrix

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

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

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

Translate
1-Visitor
October 30, 2010

thank you btw this only works for square matrixes.

mine isn't square.

Translate
1-Visitor
October 30, 2010

Clipboard01.gif

Mike

Translate
1-Visitor
October 30, 2010

Here we go again

Clipboard01.gif

Mike

Translate
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!

Translate
1-Visitor
October 30, 2010

Not even sure why I tried it!

Mike

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

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

Translate
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

Translate