Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

reallog (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the basic class.

Syntax

c = reallog(a)

Description

Computes the natural logarithm of the input elements. reallog is equivalent to log for positive real numbers but generates an error for negative real numbers.

Examples

Inputs

Name Description
a Specifies a scalar, vector, or matrix.

Outputs

Name Description
c Returns the natural logarithm of the elements in a. c returns -Inf for all elements of a equal to zero. c is a matrix of the same size as a.

Examples

A = [0.01:1:10]
C = reallog(A)

Related Topics

log
log2
log10
power
realpow
realsqrt


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit