How to record the data from start to end

1 回表示 (過去 30 日間)
Benny Leung
Benny Leung 2016 年 10 月 17 日
編集済み: Benny Leung 2016 年 10 月 17 日
Hi everyone
I haven a question about recording, i can get the data by using the code:
% add to store x_all = [x_all; x];
%#ok<AGROW> This is innefficient memory-allocation, but ok for present purposes
% print data to console (max 100 rows)
x_all(end-min(100,size(x_all,1)-1):end,:)')
By above code ,I can get 100 data or more by changing the number. However, I want the data from start to end. What code is suitable for me? Thank you

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by