resampling.h File Reference

Resampling functions - header file. More...

`#include <itpp/base/mat.h>`
`#include <itpp/itexports.h>`

Go to the source code of this file.

## Namespaces

| itpp
| itpp namespace

## Functions

template<class T >
Vec< T > | itpp::repeat (const Vec< T > &v, int norepeats)
| Repeat each element in the vector norepeats times in sequence.
template<class T >
Mat< T > | itpp::repeat (const Mat< T > &m, int norepeats)
| Repeats each column norepeats times in sequence.
template<class T >
void | itpp::upsample (const Vec< T > &v, int usf, Vec< T > &u)
| Upsample a vector by inserting (usf-1) zeros after each sample.
template<class T >
Vec< T > | itpp::upsample (const Vec< T > &v, int usf)
| Upsample a vector by inserting (usf-1) zeros after each sample.
template<class T >
void | itpp::upsample (const Mat< T > &v, int usf, Mat< T > &u)
| Upsample each column by inserting (usf-1) zeros after each column.
template<class T >
Mat< T > | itpp::upsample (const Mat< T > &v, int usf)
| Upsample each column by inserting (usf-1) zeros after each column.
template<class T >
void | itpp::lininterp (const Mat< T > &m, int usf, Mat< T > &u)
| Upsample each column by a factor of (usf-1) by linear interpolation.
template<class T >
Mat< T > | itpp::lininterp (const Mat< T > &m, double f_base, double f_ups, int nrof_samples, double t_start=0)
| Upsample each column of matrix m to achieve f_ups frequency using linear interpolation. More...
template<class T >
Mat< T > | itpp::lininterp (const Mat< T > &m, int usf)
| Upsample each column by a factor of (usf-1) by linear interpolation.
template<class T >
void | itpp::lininterp (const Vec< T > &v, int usf, Vec< T > &u)
| Upsample by a factor of (usf-1) by linear interpolation.
template<class T >
Vec< T > | itpp::lininterp (const Vec< T > &v, int usf)
| Upsample by a factor of (usf-1) by linear interpolation.
template<class T >
Vec< T > | itpp::lininterp (const Vec< T > &v, double f_base, double f_ups, int nrof_samples, double t_start=0)
| Upsample vector v to achieve f_ups frequency using linear interpolation. More...

## Detailed Description

Resampling functions - header file.

Author
  Tony Ottosson and Adam Piatyszek

Copyright (C) 1995-2010 (see AUTHORS file for a list of contributors)

This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.

IT++ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

IT++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with IT++. If not, see http://www.gnu.org/licenses/.

Definition in file resampling.h.

Generated on Mon Mar 23 2020 06:18:03 for IT++ by Doxygen 1.8.17