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!