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

6 次查看(过去 30 天)
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

回答(1 个)

Walter Roberson
Walter Roberson 2018-11-26
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 个评论
A.Mariya Jomet
A.Mariya Jomet 2018-11-29
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 2018-12-1
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Nonlinear Operators 的更多信息

产品


版本

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by