This preview shows page 1. Sign up to view the full content.
Unformatted text preview: csvwrite(csv2,csvArr); 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,' '); 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: dlmArr = dlmArr(:,1:2:end); dlmwrite(dlm2) = dlmArr; d...
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