reallog
Natural logarithm with real-only result.
📝Syntax
R = reallog(X)
📥Input Arguments
Parameter Description
X input array.
📤Output Arguments
Parameter Description
R Natural logarithm with real-only result.
📄Description

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

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