how i can get the first column ?

 Respuesta aceptada

madhan ravi
madhan ravi el 24 de Oct. de 2018
Editada: madhan ravi el 24 de Oct. de 2018
load matlab.mat
for i = 1:7
c.datas(i,:)=mydata{1,i}(1:end,1)
end
datas=c.datas %each row represents first column of each cell

8 comentarios

sam aldoss
sam aldoss el 24 de Oct. de 2018
all the file not just one
madhan ravi
madhan ravi el 24 de Oct. de 2018
check edited
sam aldoss
sam aldoss el 24 de Oct. de 2018
am new user in matlab that why am asking here ?
madhan ravi
madhan ravi el 24 de Oct. de 2018
upload your file for testing
madhan ravi
madhan ravi el 24 de Oct. de 2018
Editada: madhan ravi el 24 de Oct. de 2018
load matlab.mat
for i = 1:7
c.datas(i,:)=mydata{1,i}(1:end,1)
end
datas=c.datas %each row represents first column of each cell
madhan ravi
madhan ravi el 24 de Oct. de 2018
problem solved!
sam aldoss
sam aldoss el 24 de Oct. de 2018
thank you so much yeah it works , hero
madhan ravi
madhan ravi el 24 de Oct. de 2018
Anytime buddy :)

Iniciar sesión para comentar.

Más respuestas (1)

Categorías

Más información sobre Data Import and Analysis en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 24 de Oct. de 2018

Comentada:

el 24 de Oct. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by