How can i read these number from text file?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
cemsi888
il 26 Gen 2015
Commentato: Luuk van Oosten
il 26 Gen 2015
Good morning everyone, today i have question too. I will add Picture of Problem in order to better explain tro you. My question is how can i read numbers from txt file? As you see my Picture there are too many number and each column belongs to one Parameter. How can i say matlab that these column belongs to this Parameter and another column to another. Thanx for help
0 Commenti
Risposta accettata
Luuk van Oosten
il 26 Gen 2015
Modificato: Luuk van Oosten
il 26 Gen 2015
You could tell matlab upon importing that the data is semicolon separated (;, delimited as they call it).
try something like:
M = dlmread('yourfile.txt', ';')
Good luck.
2 Commenti
Luuk van Oosten
il 26 Gen 2015
You can make a new cell/array/table for certain specific columns and name them yourself. someting like:
Spec_Data = zeile{1,1}(:,1)
But the image and description are not helping that much... you can always ask a new question!
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!