Jump to content

CSV data manipulation: Difference between revisions

Line 2,721:
end;
fclose(fid);</lang>
 
=== Using <code>table</code> ===
<lang Matlab>filename='data.csv';
data = readtable(filename);
data.SUM = sum([data{:,:}],2);
writetable(data,filename);</lang>
 
=={{header|Nanoquery}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.