I have 3 columns of value in excel that I want to input them to Matlab. What's the coding to input a column of values into a defined variable in Matlab?

2 visualizzazioni (ultimi 30 giorni)
Let's say the values in column one is read as the variable 'num_1'. So how should the coding be?

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 21 Ago 2016
c1=xlsread(yourfile,'A:A')

Categorie

Scopri di più su Data Import from MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by