realsqrt
Square root with real-only result.
📝Syntax
R = realsqrt(X)
📥Input Arguments
Parameter Description
X input array.
📤Output Arguments
Parameter Description
R Square root with real-only result.
📄Description

realsqrt computes sqrt(X) and returns an error if an input or the result is complex.

💡Examples
x = [1 4 9];
R = realsqrt(x)
🔗See Also
sqrtreallog
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub