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

log (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: basic

Requires: MathScript RT Module

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 numeric 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 scalar, vector, or matrix of the same size as a.

Examples

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

Related Topics

exp
logmx


 

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