mysqrt.m

mysqrt(x) computes the square root of x

Usage:

y = mysqrt(4);
fprintf('The square root of 4 is %f\n', y)

The input x can be scalar, vector, or a matrix.