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

조회 수: 1 (최근 30일)
Diango GOo
Diango GOo 2021년 5월 8일
댓글: Image Analyst 2021년 5월 8일
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