This preview shows page 1. Sign up to view the full content.
Unformatted text preview: %usage: dlmCalc(fn) data = csvread(fn); %reads in the data from the csv file col = prod(data')'; %creates a column vector of the product of the columns data = [data col]; %concatenates the original data array with the newly created column vector dlmwrite([fn(1:end-4) '_edited.txt'],data,'\t'); %creates the new filename...
View Full Document
This note was uploaded on 10/21/2010 for the course CS 1371 taught by Professor Stallworth during the Spring '08 term at Georgia Institute of Technology.
- Spring '08