expm1 (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: basic

Requires: MathScript RT Module

Syntax

c = expm1(a)

Description

Computes the base e exponential of the input elements minus 1.

Details

Examples

Inputs

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

Outputs

Name Description
c Returns the base e exponential, minus 1, of the elements in a. c is a matrix of the same size as a.

Details

For a small input, this function is more accurate than using exp and subtracting 1 from the output.

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Yes

Examples

A = [1, 0; -1, 2]
C = expm1(A)

Related Topics

exp

文章是否对您有帮助?

没有帮助