help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Importing Data with Text Column Headers


From: jegg17
Subject: Importing Data with Text Column Headers
Date: Wed, 18 Nov 2015 14:00:55 -0800 (PST)

I am attempting to import data including the text column headers and have
tried  "dlmread" and "importdata" in various ways but am still struggling to
import my data appropriately. My current attempt was:
filename=indirectory1
delimiterIn='\t'; 
headerlinesIn=size(indirectory1,2)
td_ank5=importdata(indirectory1,delimiterIn,headerlinesIn); 

Which gives me a 103x1 matrix, when the text file is actually 103x40. I'm
relatively new to programming so I've tried much of what I've found via
google. Any help would be greatly appreciated!



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Importing-Data-with-Text-Column-Headers-tp4673559.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]