FUNCTION REFERENCE
realsqrt
Square root of nonnegative real input.
Square root of nonnegative real input.
Syntax
Y = realsqrt(X)Stops with an error when an element is negative instead of returning a
complex result.
Example
realsqrt(16) % 4Differences from MATLAB: complex input gives an error.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.