Method ao/dsmean


  DSMEAN performs a simple downsampling by taking the mean of every N samples.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: DSMEAN performs a simple downsampling by taking the mean of
               every N samples. The downsample factor (N) is taken as
               round(fs/fsout). The original vector is then truncated to a
               integer number of segments of length N. It is the reshaped
               to N x length(y)/N. Then the mean is taken.
 
  CALL:        b = dsmean(a, pl)
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ao
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
dsmean
FSOUT 10 none The output sample rate.

Example

plist('FSOUT', [10])

back to top back to top

Some information of the method ao/dsmean are listed below:
Class name ao
Method name dsmean
Category Signal Processing
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 1
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 1
Supported numeric types {'double'}




©LTP Team