Rearrange data

3 次查看(过去 30 天)
joo tan
joo tan 2011-12-29
Dear all, I have data like below in my file below..i need to rearrange to single column but i need skip the first row?? If i suing load function, cannot because the matrix is not same..What i need, the result is like below.. So,how? I try reshape but failed to skip first row..
76.3 89.0 93.1
76.3 89.0 93.1 72.4 81.7
81.9 93.4 90.5 81.8 76.7
80.3 97.8 100.0 89.2 79.6
89.0 93.1 72.4
Result: 76.3 89.0 93.1 72.4 81.7 81.9 93.4 90.5 81.8 76.7 80.3 97.8 100.0 89.2 79.6 89.0 93.1 72.4

回答(1 个)

Sean de Wolski
Sean de Wolski 2011-12-29
something along the lines of:
reshape(A(2:end,:).',1,[])
  4 个评论
joo tan
joo tan 2011-12-29
i need to reshape to sigle column
Sean de Wolski
Sean de Wolski 2011-12-29
importdata or textscan?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by