Commit 826d87bf authored by Vinothini Selvaraju's avatar Vinothini Selvaraju
Browse files

Conversion of raw data to standard unit

parent 83672efd
......@@ -6,4 +6,4 @@ function y = convert_mv(x)
gain = 1000;
resolution = 2^4;
y = (((x/2^resolution)-0.5)*vcc)/gain; % ECG signal in millivolts
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment