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!