Case study
Goniometer Calibration Refresher
This MATLAB refresher loads eight goniometer calibration CSVs, averages measured voltages per angle, and runs a small linear regression helper to compute slope, intercept, and R-squared. PDF/doc instructions and optional plotting are included for quick sensor calibration checks.
MATLABPlatform
8 calibration CSVsInputs
The brief
Challenge
Provide a fast, reliable sanity-check routine for goniometer calibration without re-deriving the math each lab.
Approach
What we made
Wrote a small MATLAB helper that averages voltages per angle and runs a single linear regression for slope/intercept/R-squared.
- Loads and averages voltages from eight calibration CSVs.
- Returns slope, intercept, and R-squared for quick sanity checks.
- Includes PDF instructions and optional plotting hooks.
Outcome
Results
A drop-in calibration check that turns eight CSV files into a clear linear fit and reusable parameters.
MATLABLinear regression
Gallery
Visual snapshots
Click any image to expand.