Is it possible to convert an ECG/EEG signal to numerical data form?

5 vues (au cours des 30 derniers jours)
A.Mariya Jomet
A.Mariya Jomet le 26 Nov 2018
Commenté : A.Mariya Jomet le 1 Déc 2018
I have to encrypt some data. Which includes patient details, pressure , temperature etc and also ECG/EEG signal. I am using RSA method for the encryption. I have the code to send all data as message (patient details & other numerical entries). But how can I encrypt ECG signal. Is there any method to convert signal to numerical data, so that I can encrypt with the same method.
Suggestions please

Réponses (1)

Walter Roberson
Walter Roberson le 26 Nov 2018
If you have pure numeric data then typecast uint8 and encrypt that .
If you have a struct then you can break it into pieces and do those . Or you can look in the File Exchange for the "fast serialization" contribution .
  8 commentaires
A.Mariya Jomet
A.Mariya Jomet le 29 Nov 2018
Thankyou sir,
I did that.
Y = typecast(Orig_Sig, 'uint8');
But even after it shows "Index exceeds matrix dimensions."
attaching the code
p=5861;
q=8387;
[Pk,Phi,d,e] = intialize(p,q);
%M = input('\nEnter the message: ','s');
M=Y;
x=length(M);
c=0;
for j= 1:x
for i=0:122
%for i=0:5760
if strcmp(M(j),char(i))
c(j)=i;
end
end
end
disp('ASCII Code of the entered Message:');
disp(c);
% % %Encryption
for j= 1:x
cipher(j)= crypt(c(j),Pk,e);
end
disp('Cipher Text of the entered Message:');
disp(cipher);
% % %Decryption
for j= 1:x
message(j)= crypt(cipher(j),Pk,d);
end
how to solve this?
A.Mariya Jomet
A.Mariya Jomet le 1 Déc 2018
Solved the problem.
First extract imprortant data from ECG signal, such as heart rate, QRS complex etc. And then encrypted it along with the other data.

Connectez-vous pour commenter.

Produits


Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by