I have a text/xlsx file that contains 20*4 array. I want to read 1st row element first and store that row in say x, process it and then read 2nd row and store in same variable x. Is there any commands for that? please help?

1 次查看(过去 30 天)
1.143958061720106 14.304389811272157 -0.395295879059261 19.927165553225255
1.143958061720106 14.304389811272157 -0.395295879059261 19.927165553225255
0.965251199675817 14.483743648993213 -0.330029859620413 19.941188405393234
0.965251199675817 14.483743648993213 -0.330029859620413 19.941188405393234
0.976271783365205 14.649109212975922 -0.330029859620413 19.941188405393234
0.976271783365205 14.649109212975922 -0.330029859620413 19.941188405393234
0.987312660102708 14.814779277286478 -0.330029859620413 19.941188405393234
0.987312660102708 14.814779277286478 -0.330029859620413 19.941188405393234
0.998349161151712 14.980383683713843 -0.330029859620413 19.941188405393234
0.998349161151712 14.980383683713843 -0.330029859620413 19.941188405393234
1.009381349927992 15.145923383821540 -0.330029859620413 19.941188405393234
1.009381349927992 15.145923383821540 -0.330029859620413 19.941188405393234
1.020428504827256 15.311687652921025 -0.330029859620413 19.941188405393234
1.020428504827256 15.311687652921025 -0.330029859620413 19.941188405393234
1.031445664064775 15.477001832473409 -0.330029859620413 19.941188405393234
1.031445664064775 15.477001832473409 -0.330029859620413 19.941188405393234
1.042490599411902 15.642732796849536 -0.330029859620413 19.941188405393234
1.042490599411902 15.642732796849536 -0.330029859620413 19.941188405393234
1.053527988281760 15.808350525166244 -0.330029859620413 19.941188405393234

回答(1 个)

John D'Errico
John D'Errico 2016-9-22

类别

Help CenterFile Exchange 中查找有关 Data Import and Export 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by