This preview shows page 1. Sign up to view the full content.
Unformatted text preview: csvwrite(csv2,csvArr(1:2:end,:)); c % c) Reading a General delimited text file. Read in a dlmfile that is % delimited by tabs, whose filename is given as an input to this function % in dlm1. Store the resultant array in dlmArr. % % Write your code here: dlmArr = dlmread(dlm1,'\t'); d % d) Writing a General delimited text file. Create a copy of dlmArr and % then remove all the even columns. Write the resultant array to the % filename that is given as an input to this function in dlm2. Your % output file should be delimited by exclamation points (!). % % Write your code here: dlmwrite(dlm2,dlmArr(:,1:2:end),'!'); d...
View Full Document
- Spring '08