To take the square root of a matrix in Mathematica, use the function MatrixPower with the exponent set to 1/2. The matrix should be defined as S in the expression MatrixPower[S, 1/2]. This method effectively computes the square root of the specified matrix. Users have found this approach to be straightforward and effective. The discussion highlights the simplicity of the solution for matrix square root calculations in Mathematica.
#1
AxiomOfChoice
531
1
How in the world do you take the square root of a matrix in Mathematica? All the ways I've tried haven't worked... Thanks!
As you can see from the image here, when I graph the 2d graph of y = 5sin(1/x), it comes out like I'd expect. However, when I graph it in a 3d graph, it doesn't look right at all. Can someone tell me why it isn't displaying right, or is it and I'm just missing something when I add the z axis?