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
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 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by