Finding start and end point of array from csv
조회 수: 2 (최근 30일)
이전 댓글 표시
I am trying to set the starting and ending point of x from a csv file when y = 1. How do I do it?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/890020/image.png)
RawDataTable = readtable('blabla.csv');
lengthRawDat = height(RawDataTable);
% Convert raw data
Raw_x = table2array(RawDataTable(:,1));
Raw_y = table2array(RawDataTable(:,2));
Thank you very much!
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!