Show in uniformly sampled order

版本 1.0.0.0 (2.3 KB) 作者: Mark Matusevich
Shows examples one after another in uniformly sampled order.
243.0 次下载
更新时间 2014/2/24

查看许可证

show_uniformly_sampled iteratively, calls the given function to plot a case, waits till user presses the space-bar and then plots a next case. The order in which the cases are plotted is uniformly distributed. No case is shown twice, and when there are no more cases available, then an appropriate message is shown. For any original number of cases N and number k<=N, the first k cases which will be shown by this function constitute a uniformly sampled subset of size k from the set of size N.
This function is especially useful as an input to some other GUI tool where you select the cases you want to review.

For example, let's assume that you have ECG records of 10000 patients which have both:
- atrial fibrillation in more than 50% of 24 hour ambulatory ECG recording, and
- ischemic ST depression higher than 5mm during cardiac stress test.
You want to review the resting ECG records of those patients to see if there is some common characteristics. Finally, you have function show_resting_EKG(ii) which shows resting ECG of the patient number ii. However, reviewing 10000 records would take too much time, and you want to review only 30 of them. Reviewing patients which IDs are 1:30 would be a bad idea, because the ECG management system using which you exported the data probably exported it in some non random order (e.g. the age descending order or females first, males second) and reviewing first 30 records will misrepresent the data set. What you need is to draw a uniformly distributed subset of 30 records from the set of 10000. This can be achieved by installing show_uniformly_sampled.m and performing the following command:
>> show_uniformly_sampled(10000, @show_resting_EKG)
A window showing the resting ECG of the first patient will appear. Review the ECG and press space bar to see the next patient. Continue the procedure, till you reviewed 30 patients.

For additional explanations type: help show_uniformly_sampled

This submission is courtesy of Norav Medical (www.norav.com) - the leading company in the fields of PC-ECG, EKG Management systems and related non-invasive cardiac devices.

引用格式

Mark Matusevich (2024). Show in uniformly sampled order (https://www.mathworks.com/matlabcentral/fileexchange/45669-show-in-uniformly-sampled-order), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Measurements and Feature Extraction 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0