Category Archives: Ph.D.

Using R for Introductory Statistics

Data Quickly entering in small data sets is the c function: >typos = c(2,3,0,3,1,0,0,1) >typos [1] 2 3 0 3 1 0 0 1 Note: The assignment operator is a = and it can be a <- [1] indicates the … Continue reading

Posted in Ph.D., Programming, tips and tricks | Tagged , , , , | Leave a comment

Accelerometers and Flight Dynamics

    roll = -arctan2(acceleration.x, -acceleration.z);    pitch = arctan2(acceleration.y, -acceleration.z);

Posted in Mobiles, Ph.D., Programming, tips and tricks | Tagged , , | Leave a comment