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
- Spring '08
- Writing, Input/output, resultant array, Comma-separated numbers file