How to take a column of an excel spreadsheet and declare as a variable
31 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a selection of values from a column in excel which I would like to declare as a variable in MATLAB. What would be the best way to go about doing this?
0 commentaires
Réponses (1)
Star Strider
le 13 Fév 2016
For example:
A = xlsread(filename, 'B:B');
This assigns colunm ‘B’ in the Excel file to variable ‘A’.
0 commentaires
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!