z-score normalize values in tsv file matlab
% Read in the tsv file to a Matlab table
t=readtable('my_file.tsv', 'Filetype', 'text');
% prepend values from column 1 to the normalized values
% for the remaining columns.
% zscore (in stats toolbox) requires that the data is an array
nrm=[t(:,1), array2table(zscore(table2array(t(:,2:end))))];
% Get the variable names from the original table (t) and
% add them to the nrm table
nrm.Properties.VariableNames=t.Properties.VariableNames
% Write the output to a csv file:
writetable(nrm,'my_file_nrm.csv')