Updated with Statistics Library

Dependencies:   QEI2 chair_BNO055 PID Watchdog VL53L1X_Filter ros_lib_kinetic

Statistics/statistics.h

Committer:
t1jain
Date:
2019-06-28
Revision:
28:e01253eb6c6f
Parent:
27:da718b990837

File content as of revision 28:e01253eb6c6f:

#ifndef statistics_h
#define statistics_h
 
#include "mbed.h"

class statistics 
{ 
public: 

    statistics(int* Input, int dataLength, int firstDataPoint = 0); 
    double stdev();
    double mean();
    
  private:
   int* data;
   int dataLength;
   int firstDataPoint;

    
};

#endif