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

log (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 = log(a)

Description

Computes the natural logarithm of the input elements. The natural logarithm of zero is -inf.

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 complex numbers for negative or complex elements in a. c is a matrix of the same size as a.

Examples

A = [0.1, 1; 10, 100]
C = log(A)

Related Topics

exp
logm


Resources


 

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