|
a |
|
b/test.m |
|
|
1 |
%%test |
|
|
2 |
clear |
|
|
3 |
close all |
|
|
4 |
%% Creation of a preprocessed datastore for every patients |
|
|
5 |
diagnostic_tbl = readtable('C:\Users\tripats\Documents\Biomedical Signal Analysis\Grad Single Project\Diagnostics.xlsx', 'Sheet', 'sheet1'); |
|
|
6 |
|
|
|
7 |
% Isolation of only required data i.e. filename and rhythym |
|
|
8 |
diagnostic_tbl = diagnostic_tbl(:,["FileName","Rhythm"]); |
|
|
9 |
filename = table2array(diagnostic_tbl(:,1)); |
|
|
10 |
label = table2array(diagnostic_tbl(:,2)); |
|
|
11 |
|
|
|
12 |
filename_id = strcat('C:\Users\tripats\Documents\Biomedical Signal Analysis\Grad Single Project\ECGData\ECGData\',filename,'.csv'); |
|
|
13 |
|
|
|
14 |
% For this particular project we are going to use all the available rhythm |
|
|
15 |
% diagnosis of the dataset |
|
|
16 |
|
|
|
17 |
preprocessData(char(filename_id(1)), label(1), filename(1)); |
|
|
18 |
|
|
|
19 |
|