Create subsets by a moving window.
Mostrar comentarios más antiguos
I have a 1087x12 seismic catalogue and I want to create multiple .txt subsets from it by a 50 events moving window. There will be 1038 .txt files in total.
2 comentarios
Geoff Hayes
el 27 de Feb. de 2020
Anna - to be clear, if Data is your 1087x12 matrix, then are you interested in copying the following to file?
Data(1:50,:)
Data(2:51,:)
Data(3:52,:)
...
Data(k:k+50-1,:)
...
Data(1038:1087,:)
Geoff Hayes
el 27 de Feb. de 2020
Anna's answer moved here
Yes, I 'm interested.
Respuesta aceptada
Más respuestas (1)
Anna Sidiropoulou
el 27 de Feb. de 2020
0 votos
Categorías
Más información sobre Data Import and Analysis 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!