Matlab analysis code for PY 412 AFM Cantilever Resonance lab