lab1s - Figure 1 - Problems 5-7 1 (4.0, 0.73) (9.0, 0.67)...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
0 1 2 3 4 5 6 7 8 9 10 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 Time (s) (whatever units) (4.0, 0.73) (9.0, 0.67) Figure 1 - Problems 5-7 0 5 10 15 20 25 30 35 40 45 50 -1 -0.5 0 0.5 1 Time (s) (4.0, 0.73) (9.0, 0.67)
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 -600 -400 -200 0 200 400 600 800 1000 Time (s) Velocity (encoder cts / s) Figure 2 - Problems 3 and 8 (velocity estimates) Polynomial fit Prob. 8 answer Prob. 9 answer 1.85 1.9 1.95 2 2.05 2.1 2.15 2.2 2.25 2.3 2.35 200 300 400 500 600 700 800 900 Time (s) Polynomial fit Prob. 8 answer Prob. 9 answer
Background image of page 4
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 -150 -100 -50 0 50 100 150 Time (s) Enconder counts Figure 3 - Polynomial fit to raw encoder data Encoder data 7th-order polynomial fit 2.15 2.2 2.25 2.3 2.35 2.4 2.45 70 80 90 100 110 120 130 140 150 160 Time (s) Encoder data 7th-order polynomial fit
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
% lab1_mfile.m - Partial solution to Lab 1 % ECE 238, Spring 2010 (UCSB) % (Solution code below by Katie Byl, 4/11/2001) %---------------------------------------------- load lab1_matfile tdata ydata % raw data for encoder T = tdata(2)-tdata(1); % sampling time, T=.001 (seconds) % ydata : raw encoder data, "wiggling" pendulum
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 7

lab1s - Figure 1 - Problems 5-7 1 (4.0, 0.73) (9.0, 0.67)...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online