R = reallog(X)
| Parameter | Description |
|---|---|
| X | input array. |
| Parameter | Description |
|---|---|
| R | Natural logarithm with real-only result. |
reallog computes log(X) and returns an error if an input or the result is complex.
x = [1 2 4];
R = reallog(x)
| Version | Description |
|---|---|
| 2.0.0 | initial version |