Question: Write a MATLAB code to read each frame of the video file dot.mp3 (video file download link: https://www.filemail.com/d/yvfpwlbyvykuafa, assuming dots are in a pipe) and:
Write a MATLAB code to read each frame of the video file dot.mp3 (video file download link: https://www.filemail.com/d/yvfpwlbyvykuafa, assuming dots are in a pipe) and:
1. Find the location of the 2 black dots in pixels.
2. Calculate the distance between 2 dots in a pixel and in displacement (assume 1 pixel is 0.01 cm).
3. Calculate the volume over time as well assuming the pipe diameter is 0.5 cm2.
4. Plot time vs volume and time vs rate in cc/min
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
