필터 지우기
필터 지우기

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

조회 수: 12 (최근 30일)
Rita Barnabé
Rita Barnabé 2021년 11월 1일
답변: Walter Roberson 2021년 11월 1일
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에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by