How to open csv file with large amount of data and randomly select?
1 次查看(过去 30 天)
显示 更早的评论
How can these code which was written in Python translate to MATLAB code?
I need to open a csv file and randomly select data by 'ultimo' and 'surry hills'.
1 个评论
Image Analyst
2021-5-8
You forgot to attach the CSV file. And I don't know what "select data by 'ultimo' and 'surry hills'." actually means. Do you want rows and columns chosen at random or is there some way ultimo and surry hills can tell you the starting and stopping rows and columns of the matrix???
Perhaps you want randsample() or randperm().
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!