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
| 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 |
| Package name |
ltpda |
| VCS Version |
f3f3872c69c1252d198e87288372d1367fc6ceec |
| Min input args |
1 |
| Max input args |
-1 |
| Min output args |
1 |
| Max output args |
-1 |
|
Method: ao/dropduplicates |
|
Method: ao/ecdf |
 |
©LTP Team