Hi Guys,

I have tried to import an excel file to Matlab, using the import wizard. what I got is a matrix with the data, a vector of the header of the columns (in this case: X1, X2 and Y), and a vector of text data.

Let's assume that I want to run a regression analysis, or any other statistical model or test, how can I approach the data ? I mean, do I have to remember that X1 is the first column ? can't I use the name ?

data(1) will work (I think), data(X1) won't.

How can I specify a specific column using it's name and not it's position in the matrix ?