Leng?函数的功能?

7 views
Skip to first unread message

skev...@gmail.com

unread,
Feb 13, 2009, 2:35:02 AM2/13/09
to FAMOS中文社区
FAMOS中有一个leng?函数不知道怎么用,有谁能给个详细的说明

imcacc...@gmail.com

unread,
Feb 13, 2009, 2:48:18 AM2/13/09
to FAMOS中文社区
Leng?是得到曲线的采集点的总数。详情见下说明:



Function

Returns the length (number of points) of a waveform.

Declaration

Leng?(XXWave) -> SvLeng

Parameter
Definition

XXWave
Waveform or single value whose number of points (length) should be
determined

-> SvLeng
Length of XXWave


Description

This function returns the length (number of points) of a waveform.

Remarks

A number of points is returned, not an x-coordinate difference.

The function Leng? is located in function group "16> Properties I"

Example

SvDurat = xDel?(NwData) * Leng?(NwData)

The duration of a waveform equals: Number of points * Sampling rate.

NwNormHi= 100'%' *Histo(NwData,0,0)/Leng?(NwData)

A histogram is normalized to 100% by dividing by the total number of
points in the waveform.

SvOne = Leng?(100)

The length of a single value is defined as one.

SvZero = Leng?(EMPTY)

An empty waveform has a length of zero.


On 2月13日, 下午3时35分, skevin...@gmail.com wrote:
> FAMOS中有一个leng?函数不知道怎么用,有谁能给个详细的说明
Reply all
Reply to author
Forward
0 new messages