BIO – BSA3
Exercises for Part 2 (Signal Analysis) Exercise #05 – Visualisation Data
1.) Visualisation of a simple 3D object:
a. Define the surface of a cuboid with length 150mm, width 75mm, and height 10mm by a
minimal number of vertices and faces.
b. Plot the cuboid in 3D using trisurf function
c. apply user defined colours to the cuboid surface
d. use the function to change the viewpoint
e. manipulate in a loop for a simple animation of a rotating cuboid
(We will use this script in Ex07 to visualize the orientation of a measured device, e.g. smartphone, which could be used for an assistive computer interface)
2.) EKG animation
a. Use a 5min long ECG recording from the ECG database
b. Plot always a 10second window of the ECG
c. Shift the window in a loop and update a plot so that data are displayed as it is done on a
clinical ECG monitor (see https://www.youtube.com/watch?v=wuwBfSpVEgw for reference)
3.) Vectorcardiography:
In this task you should implement a simplified version of a “Vectorcardiography”. Basically this is a scatterplot of different ECG-leads. To keep it simple we want to stay in two dimensions for this task. Implement the following subtasks:
a. Use the ECG database to find 4 ECGs containing the same two leads (e.g. V4 and MLIII)
b. find 4 additional ECGs containing two different leads (e.g. V1 and V5)
c. Make a scatterplot with x-data (1st lead) and y-data (2nd lead)
d. arrange these scatterplots of the 8 ECGs in a 4×2 subplot-matrix
view(az,el)
az,el
Task
1
2
3
Sum
Points
2
2
2
6