How do I resize multiple arrays that are read in from large csv files of different sizes?
1 次查看(过去 30 天)
显示 更早的评论
I am constantly reviewing data measurements from three devices and each time I extract data, they are usually different in size. In order to do Matrix calculations, my arrays all have to be the same size (e.g. 10 Rows x 20 Columns). Each array has Column 1 designated as Source Time which is typically time sampled at 1 second intervals. What would be the most efficient way to implement code to resize each of the arrays to the size of the largest array while not sacrificing the accuracy of the data? Once resized, the time codes all have to be the same or within 97% accuracy to ensure matrix calculations are consistent between each data array. What I mean by this is once resized, I don't want to compare data at 30 second instance of one device with data at 29 second instance of another device.
6 个评论
Stephen23
2018-5-11
编辑:Stephen23
2018-5-11
@Thomas Gunther: PDFs are useless for transferring data, because the PDF standard defines only the visual layout of how it looks in a viewer, but nothing about the sequence of data stored in the file itself. In general it is very difficult to extract data from them. Read these to know more:
etc.
Please provide the actual data files.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!