I looked and my question is almost the same as above question. I want to read in a file which is 84641 x 175 long.
and i want a make a new .txt file with 84641 x 40 , deleteling rest of the columns. I have 2 rewrite the dates n times. date is on first column in format 6/26/2010 and time on 2nd column in format ' 00:00:04'
when i use the code put in above question i keep getting the error
??? Error using ==> reshape Product of known dimensions, 181, not divisible into total number of elements, 14812175.
Error in ==> write at data = reshape(data{1},N+6,[])';
when i comment this it has error in printf statements for date and data write.
Any ideas?? thanks