Chossing random data from xls files
Mostrar comentarios más antiguos
I have hundreds of excels files in different folders with data on hundreds of records,I want to record the data to a single (excel) file that choose randomly files from the folder and the rows (randomly too...) Please guide me what is the procedure that I adopt to cater this thing. Thanks
3 comentarios
Geoff Hayes
el 12 de Ag. de 2014
Muahmmad - do you have a list (cell array) of all files (with paths to each file)? Do you need to select at least one row from each file? If data has been selected from a certain file, can we re-select that data? How many rows (in total) do you want to select?
Since your randomness involves choosing files from a list, or rows from a file, the generated random number will always be an integer. See randi for details on generating pseudorandom integers.
Muhammad Usman
el 12 de Ag. de 2014
Salaheddin Hosseinzadeh
el 12 de Ag. de 2014
It's a pure programming problem.
Anyone with a little creativity, knowledge of programming, and of course some hours to think and trial and error should be able to tackle this really!
I don't see a point to ask this!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Spreadsheets en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!