Chunking a portion of raw data
Show older comments
Hi, I need a small suggestion. I have to chunk the beginning of a data which is in floating format. As in, my data is abc.dat which is (2198560*1)size. I need to cut the first 143100 samples. Which is the best method?
Also, I need to get two data to the same length.Which is the most effective method to this apart from using MIN function.
Thanks
1 Comment
per isakson
on 11 Sep 2013
"abc.dat" is that a file or a structure?
Answers (1)
Azzi Abdelmalek
on 11 Sep 2013
Edited: Azzi Abdelmalek
on 11 Sep 2013
Example
A=rand(2198560,1);
A(1:143100);
%-----------------------
a1=a(1:numel(a)/2);
a2=a(numel(a)/2+1:end)
Categories
Find more on Large Files and Big Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!