. I'm trying to find out some indices and process a file with rows (comented) with diferent numbers of columns. Any help?
Mostra commenti meno recenti
I have a file with data and some comented rows (lat,lon and date). I'm trying to find out the indices of these last ones. Then, these rows have more columns (about 5) than the not comented rows (2). The matlab can't process this way. Need some help. Ex:
% 189° 25° 1980 4 27
3 28,9
4 28,7
5 27,0
6 25,6
[...]
2 Commenti
per isakson
il 2 Apr 2015
Does your file look something like this?
% 189° 25° 1980 4 27
3 28,9
4 28,7
5 27,0
6 25,6
...
% 189° 25° 1980 4 28
3 28,9
4 28,7
5 27,0
6 25,6
...
% 189° 25° 1980 4 29
3 28,9
4 28,7
5 27,0
6 25,6
...
comma, ",", as decimal separator? (Matlab has problems with that.)
"find out the indices"   is only a step on the way to read and parse the file?
Does the entire file fit comfortable in memory?
Dorfschafer
il 6 Apr 2015
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Standard File Formats in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!