Brain Imaging and ECG Graph
이전 댓글 표시
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
Adam Danz
2020년 11월 14일
What's controlling the animation? For example, does the sliding bar control what 2D image is displayed? If not, provide more detail about what is animated and what controls the animation.
Rachel Reyes Reimon
2020년 11월 14일
Adam Danz
2020년 11월 14일
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
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!