How to open csv file with large amount of data and randomly select?

1 view (last 30 days)
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 Comment
Image Analyst
Image Analyst on 8 May 2021
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().

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!