how to import data from a text file to MATLAB
Afficher commentaires plus anciens
Hey I need help with importing data from a text file to MATLAB. The text file has 2000 variables of time, latitude and longitude and i need help with how to import this data into a readable array inside MATLAB.
Thank you
3 commentaires
Rangan M K
le 18 Avr 2016
Hey jack, Can you provide more input. Like is it formatted if yes,does it have same format throught the file,
A sample line of the file if provided I can help you with this.
jack knipler
le 3 Mai 2016
Hiskiel Stephanus
le 3 Mai 2016
You would have to use the fscanf function in order to ensure that you do not read the associated text. Thereafter you can employ loop methods to separate you data into time,latitude and longitude respectively.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
