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!