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 Ansichten (letzte 30 Tage)
Let's say the values in column one is read as the variable 'num_1'. So how should the coding be?

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 21 Aug. 2016
c1=xlsread(yourfile,'A:A')

Kategorien

Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by