lab1s

# lab1s - Figure 1 Problems 5-7 1(4.0 0.73(9.0 0.67 0.8...

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

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

View Full Document
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)

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

View Full Document
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
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

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

View Full Document
% 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
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 7

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

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

View Full Document
Ask a homework question - tutors are online