cal_gain
PURPOSE
vol_trialdata = cal_gain(trialdata,CalGain,CalZero)
SYNOPSIS
function vol_trialdata = cal_gain(trialdata,CalGain,CalZero)
DESCRIPTION
CROSS-REFERENCE INFORMATION
This function calls:
This function is called by:
SOURCE CODE
0001 function vol_trialdata = cal_gain(trialdata,CalGain,CalZero)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 size_trial = size(trialdata);
0014 for i=1:size_trial(2)
0015 CalGain(i) = 38/0.4883;
0016 end;
0017
0018 CalZeros_mat = ones(size_trial(1),1)*CalZero';
0019 CalGain_mat = ones(size_trial(1),1)*CalGain';
0020
0021 vol_trialdata = (trialdata - CalZeros_mat).*38./CalGain_mat;
0022
0023
0024
Generated on Wed 20-Sep-2023 04:00:50 by m2html © 2003