0% found this document useful (0 votes)
94 views

Digital System Processing Lab Assignment

This document provides instructions for a lab assignment on modeling and plotting the motion of Ferris wheels. Students are asked to: 1. Derive formulas to calculate the x and y coordinates of a point on the rim of a single Ferris wheel over time and plot the results. 2. Extend this to model a Ferris wheel with smaller attached wheels and plot the motion. 3. Write a MATLAB function to generically model multiple nested Ferris wheels and plot the motion. The document also provides details on submitting the assignment, including providing solutions in a PDF report and MATLAB code in a zip file with specific naming conventions. Groups of up to 3 students are allowed.

Uploaded by

Vaishali Behl
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views

Digital System Processing Lab Assignment

This document provides instructions for a lab assignment on modeling and plotting the motion of Ferris wheels. Students are asked to: 1. Derive formulas to calculate the x and y coordinates of a point on the rim of a single Ferris wheel over time and plot the results. 2. Extend this to model a Ferris wheel with smaller attached wheels and plot the motion. 3. Write a MATLAB function to generically model multiple nested Ferris wheels and plot the motion. The document also provides details on submitting the assignment, including providing solutions in a PDF report and MATLAB code in a zip file with specific naming conventions. Groups of up to 3 students are allowed.

Uploaded by

Vaishali Behl
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

CT321 - DSP Lab - 1: Sines, Cosines & Ferris Wheel

1. Read the help les and try out some of the following commands: help, plot, subplot, figure, sin, cos, pi, exp, zeros, ones, size, stem, abs, round, axis, hold on, function, .*, for. 2. Assume that the radius of a Ferris wheel is R (in some units) whose center is situated at the point ( R + H , 0) (we are interested in coordinates in the plane in which the wheel rotates, H is the offset from the ground level). The wheel rotates for T minutes, completing one revolution in P seconds. Determine the formulae for the horizontal and vertical coordinates for the position of a particular point on the rim of the wheel. Find the Nyquist sampling rate f s Hz for these functions. Plot the sequence for x coordinate versus time, y coordinate versus time, and x versus the y coordinate, by assuming values for R, H , T & P and obtained by sampling with rate (a)4 f s Hz (b) f s Hz and (c) fs 3 Hz. 3. Assume there are several smaller Ferris wheels each of radius R1 ( R1 < H and R1 < R) attached to the rim of the original wheel. Refer Figure 1 for a real world example. Each smaller wheel completes a revolution in P1 seconds. Determine the formulae for the horizontal and vertical coordinates for position of a point on the rim of this smaller Ferris wheel. Find the Nyquist sampling rate f s Hz for these functions. Plot the sequence for x coordinate versus time, y coordinate versus time, and x versus the y coordinate, by assuming values for R, H , T , P, R1 & P1 and obtained by f sampling with rate (a)4 f s Hz (b) f s Hz and (c) 3s Hz.

Figure 1: A double Ferris wheel. Image source - www.rollercoastermodels.com 4. Next, assume that there are J nested Ferris wheels. Write a MATLAB function myferris.m that takes in a vector R containing the radii of the J Ferris wheels, a vector P containing the time in seconds it takes to complete a revolution by the corresponding Ferris wheel, total time for which the wheel rotates T and the offset H . The function should automatically compute the Nyquist sampling rate f s Hz. The function should also plot the sequence for x coordinate versus time, y coordinate versus time, and x versus the y coordinate for a point on the rim of the last Ferris f wheel obtained by sampling with rate (a)4 f s Hz (b) f s Hz and (c) 3s Hz.

Instructions
1. Make a report with solutions to all questions except the rst one. The report should be named IDno_lab1.pdf. 1

2. Collect the les: IDno_lab1.pdf and myferris.m in a single zip le named IDno_lab1 and submit by uploading it on courses.daiict.ac.in. 3. Submit only one zip le per group, where a group consists of at most 3 students. Clearly mention names and ID. Nos. of group members in the report and code. Groups will not be allowed to change. You may use ID. No. of any one member of the group in order to name the les.
A 4. Reports written in L TEX will fetch one extra mark.

5. Submissions must be done within 5 days of the lab, i.e., Mondays batch should submit by Friday midnight.

You might also like