Main Content
realsqrt
Square root for nonnegative real arrays
Syntax
Description
returns the square root of each element of array Y
= realsqrt(X
)X
. The size of
Y
is the same as the size of X
.
If you want negative and complex numbers to return complex results instead of
error messages, then use sqrt
instead.
If X
is a table or
timetable, then Y
is a table or timetable. (since R2023a)