MATLAB: How Can i import data from excel with column names

importimporting excel data

I am looking to import data from excel with colum names. I also meed to perform calculations for the whole column with that name.
For Example: Say i have a excel sheet with 50 columns of data. I want to pick a column from the dataset with the name of the column and do some mathematical operations on the whole column.

Best Answer

If you have R2013b or later then I recommend you use readtable() and then operate on the column by name.