Exercises

  1. Add a smooth function and a button to smooth the data. To smooth the data, calculate the average of each point and the two adjacent data points.

  2. Add a method and a button that removes all data points below the lower marker and all data points above the upper marker. This way, you can add some kind of zoom functionality.

  3. Add a time limit for the recording of data. The user should only be allowed to collect acceleration data for a few seconds because the data is drawn several times per second.

  4. (Difficult) Try to add a method that can analyze the data to find the period without the user changing the markers.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.253.170