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

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 21 de Ag. de 2016
c1=xlsread(yourfile,'A:A')

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by