Hi, how do I change all the values ​​in a specific column ?

24 次查看(过去 30 天)
ecg = Data(:,6); % Original ECG values
n = 9; % Number of bits of the channel (?)
VCC = 3; % Operating voltage
Gecg = 1000; % Sensor gain
ecg_volts = (ecg/(2^n)-1/2)*VCC/Gecg;
and now i want to change the values of the 6 column from ecg to ecg_volts

采纳的回答

Walter Roberson
Walter Roberson 2021-11-1
Data(:,6) = ecg_volts;

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Denoising and Compression 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by