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

1 visualizzazione (ultimi 30 giorni)
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 Commento
Image Analyst
Image Analyst il 8 Mag 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().

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by