Skip to content

Instantly share code, notes, and snippets.

View haider00727's full-sized avatar

CoderX haider00727

View GitHub Profile
/** A simple kalman filter example by Adrian Boeing
www.adrianboeing.com
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
double frand() {
return 2*((rand()/(double)RAND_MAX) - 0.5);