Brain Imaging and ECG Graph
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello there,
I am doing a gui where i am supposed to make a GUI program that will display CT images from .tif files in a window and in another the ‘Start ECG’ toggle-button will be showing a moving ECG window for a given window size. The graph has to be moving and I have no idea where to even start coding for this. We were given the variables
ann
ecgsig ; and
tm
inside this file mit200
we are also given the window length and ecg filtered signal
- load mit200;
- windowLength=600;
- ecgsigfiltered=movmean(ecgsig,20);
Pause 0.05 second during moving window in between 'plot' calls.
I guess my question is really knowing how to plot moving graphs .... Any help with this is greatly appreciated.

3 comentarios
Adam Danz
el 14 de Nov. de 2020
So many questions and unknowns.
- What is being animated? Data points being plotted on top of the image?
- Where do these data come from?
- How are the data stored? In cell arrays, columns within a matrix, a compex structure?
- Are you referring to the plot on the left with blue points?
There are several animation methods
including a simple loop that updates the x and y coordinate data of a line object.
See this answer for general approaches to animation
Respuestas (0)
Ver también
Categorías
Más información sobre Convert Image Type en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!