matlab and simulink 12 labs and every lab 4 questions

profiledharyaudcahy
tutorials_11c.pdf

Tutorials No 11

All working and MATLAB programs to be kept/typed up in Microsoft Word, which

would be submitted on 31/03/2017

Two sensors X (lead sensor) and Y (rear sensor) are positioned at different locations

3m apart in a bridge to measure vibrations caused by a car as it crosses the bridge.

The signals from both sensors are sampled simultaneously using a sampling interval

of 5ms. For a particular car that crosses the bridge, the output signals from sensor X

[x(t)] and sensor Y [y(t)] are given below.

Table 1: Sampled measurement data obtained from sensors X and Y

X(t) Y(t)

28 12

-1 0

-5 -14

7 4

12 23

29 8

-6 23

-5 8

19 -10

-15 -13

19 -5

-11 -8

-1 13

-1 16

-14 22

-2 24

I. Plot a cross correlation function from the data and hence estimate the speed

of the car as it crosses the bridge.

II. Also, use MATLAB to plot the cross correlation function of the data given in

table 1 and compare your plots in (i) and (ii).

[You are to show all of your working and MATLAB codes]