-
-
Save GiovanniBalestrieri/8622be733a56a2681445 to your computer and use it in GitHub Desktop.
Rolling plot Matlab Arduino Gyroscope
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% Ask desired Sample Rate in Hz | |
rate=input('Enter the samplerate in Hz. Max 500Hz: '); | |
delay = 1/rate; | |
str = sprintf('SampleRate fixed to: %f.', delay); | |
disp(str); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment