Skip to content

Instantly share code, notes, and snippets.

@GiovanniBalestrieri
Created July 28, 2015 02:27
Show Gist options
  • Save GiovanniBalestrieri/855f02ecf2785321d9ba to your computer and use it in GitHub Desktop.
Save GiovanniBalestrieri/855f02ecf2785321d9ba to your computer and use it in GitHub Desktop.
Rolling Plot Matlab Arduino gyroscope
%% Initializinig rolling plot
buf_len = 100;
index = 1:buf_len;
% create variables for the Xaxis
gxdata = zeros(buf_len,1);
gydata = zeros(buf_len,1);
gzdata = zeros(buf_len,1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment