annotate include/Utilities.h @ 3:6810f166482f

_new IIR filter example
author Victor Zappi <victor.zappi@qmul.ac.uk>
date Thu, 06 Nov 2014 17:55:05 +0000
parents 8a575ba3ab52
children 09f03ac40fcc
rev   line source
andrewm@0 1 /*
andrewm@0 2 * Utilities.h
andrewm@0 3 *
andrewm@0 4 * Created on: Oct 27, 2014
andrewm@0 5 * Author: parallels
andrewm@0 6 */
andrewm@0 7
andrewm@0 8 #ifndef UTILITIES_H_
andrewm@0 9 #define UTILITIES_H_
andrewm@0 10
andrewm@0 11 float map(float x, float in_min, float in_max, float out_min, float out_max);
andrewm@0 12 float constrain(float x, float min_val, float max_val);
andrewm@0 13
andrewm@0 14 #endif /* UTILITIES_H_ */