am trying to get the first column from these data and save it in normal cell

 Réponse acceptée

madhan ravi
madhan ravi le 24 Oct 2018
Modifié(e) : madhan ravi le 24 Oct 2018

1 vote

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 commentaires

sam aldoss
sam aldoss le 24 Oct 2018
all the file not just one
madhan ravi
madhan ravi le 24 Oct 2018
check edited
sam aldoss
sam aldoss le 24 Oct 2018
am new user in matlab that why am asking here ?
madhan ravi
madhan ravi le 24 Oct 2018
upload your file for testing
madhan ravi
madhan ravi le 24 Oct 2018
Modifié(e) : madhan ravi le 24 Oct 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 le 24 Oct 2018
problem solved!
sam aldoss
sam aldoss le 24 Oct 2018
thank you so much yeah it works , hero
madhan ravi
madhan ravi le 24 Oct 2018
Anytime buddy :)

Connectez-vous pour commenter.

Plus de réponses (1)

Catégories

En savoir plus sur Data Import and Analysis dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by