필터 지우기
필터 지우기

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

조회 수: 11 (최근 30일)
A.Mariya Jomet
A.Mariya Jomet 2018년 11월 26일
댓글: A.Mariya Jomet 2018년 12월 1일
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