Effacer les filtres
Effacer les filtres

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

14 vues (au cours des 30 derniers jours)
Rita Barnabé
Rita Barnabé le 1 Nov 2021
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

Réponse acceptée

Walter Roberson
Walter Roberson le 1 Nov 2021
Data(:,6) = ecg_volts;

Plus de réponses (0)

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by