Acceleration of Gravity using the Doppler Effect
Version 1.0.0 (14.5 MB) by
Duncan Carlsmith
Live Script illustrating how to measure 'g' by dropping your phone.
This educational Live Script shows how to use your mobile phone in free fall as an accelerating acoustic source and your laptop as a stationary receiver to observe a tiny Doppler effect and deduce the phone acceleration due to Earth's gravity. The code illustrates the use of the Hilbert transform to determine the instantaneous frequency throughout a single recording of a series of drop experiments. A simulation to explore of the effects of initial velocity, impact parameter, and data filtering techniques is included.
This script may interest students and instructors of physics and related fields. 'Try this' suggestions, coding challenges, hyperlinks, and references are included for further exploration. Additional Live Scripts by the author are available here.
Cite As
Duncan Carlsmith (2025). Acceleration of Gravity using the Doppler Effect (https://uk.mathworks.com/matlabcentral/fileexchange/181301-acceleration-of-gravity-using-the-doppler-effect), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2025a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
AccelerationOfGravityUsingTheDopplerEffect folder
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
