1. Open matlab on our computer, enter "9 0.5" in the command line window, and press enter to see the result of finding the root of 9.
2. Use sqrt function to represent the root number, enter "sqrt(9)" in the command line window, and press Enter to see the same result.
3. Use sqrtm function to represent the root number, enter "sqrtm(9)" in the command line window, and press enter, and the result is 3. If the root of a number is required, all three methods can represent the root number.
4. If it is to root the matrix, sqrt(a) is to root the data without columns in each row of matrix A..
You can also find the root of the matrix by "a.^0.5". It should be pointed out that ""is different from a constant.
6. matrix by sqrtm function, we get a new matrix x, a=x*x,