fname = 'SN0251cal';
load([fname, '.mat']);
T1 = cal.PhaseCoef;
T2 = cal.TempCoef';
numRows = length(T1);
numCols = 2;
T = array2table(NaN(numRows, numCols), 'VariableNames', {'PhaseCoef', 'TempCoef'});
T.PhaseCoef(1:length(T1)) = T1;
T.TempCoef(1:length(T2)) = T2;
writetable(T,[fname,'.txt'])