Sorting raw data
古いコメントを表示
I was wondering if anyone can help me with this. Actually I need to be able to write a program in matlab which looks through your raw data and picks up the queue length and delay for the last reading showing any particular value of Unix time, i.e. before it changes to a value that is 0.01 seconds higher. This is an example of my data set. The first Column is my queue length, the second is my unix timestamp, the third is my delay and the fourth the time difference between the time stamps
0 1312023712.02 1.19209289551E-06 0.03999996185303
0 1312023712.02 7.15255737305E-06 0.03999996185303
0 1312023712.02 7.15255737305E-07 0.03999996185303
0 1312023712.02 1.19209289551E-06 0.03999996185303
0 1312023712.03 9.53674316406E-07 0.04999995231628
0 1312023712.03 7.15255737305E-07 0.04999995231628
0 1312023712.03 1.19209289551E-06 0.04999995231628
0 1312023712.03 7.15255737305E-07 0.04999995231628
0 1312023712.03 9.53674316406E-07 0.04999995231628
So in this case i need to get the last value of queue length and delay when time duration is 0.03999 and 0.049999. according to this sample at 0.03999- 0 and 1.19209289551E-06 and for 0.0499- 0 and 9.53674316406E-07
4 件のコメント
Jan
2011 年 7 月 27 日
Do you have a specific question? Currently the most likely answer is: yes.
Image Analyst
2011 年 7 月 31 日
Well your queue length (the first column) is always zero. And I don't see how the 4th column is the difference between rows of the second column. If it were the first 3 rows of the 4th column would be zero because the first 3 rows of your second column are identical.
Anthony
2011 年 7 月 31 日
Image Analyst
2011 年 7 月 31 日
I have no idea what you said. If you say to ignore the junk in the table, then what are we left to deal with?
採用された回答
その他の回答 (1 件)
Rick Rosson
2011 年 7 月 28 日
0 投票
Please provide the following information:
- What specifically are you trying to do?
- What have you tried so far?
- What is not working in what you have tried?
- What is your specific question?
Thanks!
Rick
カテゴリ
ヘルプ センター および File Exchange で Argument Definitions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!