Reading a textfile with increment-RLE

1 次查看(过去 30 天)
I have a large file that shows 5 different tasks that run every 1 microsecond. The text file consist of 5 different columns of repeated data on which they start with zeros and rise up to highest value and then gradually decrease again to reach a zero value {this is synchronized differently for each column} . During the run, an event to any of the tasks can happen at an interval of ~ every 10 microseconds by showing a change in these values along the column. I need to write a code that keep track of the time and the value when an event is triggered to the 5 columns. I understand I need to increment in my code so as not to take repeated values by I do not know how to do that , especially when my file is > 2GB. I found in one website that it is recommended to run length encoding for similar cases, but I do not understand how I can do that.
I will highly appreciate any help that I can find regarding this
Best wishes
AA
  1 个评论
Oleg Komarov
Oleg Komarov 2012-5-12
I am sorry it's not clear what your immediate issue is. Try to break down the problem in small tasks and formulate a question.

请先登录,再进行评论。

回答(0 个)

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by