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
VERSION: $Id: dsmean.m,v 1.23 2011/05/11 08:42:19 mauro Exp $
HISTORY: 20-04-08 M Hewitson
Creation
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
ao |
Sealed |
0 |
Static |
0 |
Parameter Description
Sets for this method … |
Default |
Default |
no description |
Key |
Default Value |
Options |
Description |
FSOUT |
10 |
none |
The output sample rate. |
back to top
Some information of the method ao/dsmean are listed below: |
Class name |
ao |
Method name |
dsmean |
Category |
Signal Processing |
CVS Version |
$Id: dsmean.m,v 1.23 2011/05/11 08:42:19 mauro Exp $ |
Min input args |
1 |
Max input args |
-1 |
Min output args |
1 |
Max output args |
-1 |
|
Method: ao/dropduplicates |
|
Method: ao/ecdf |
 |
©LTP Team