How can I compress data points using flushdata or changing to single precision to allow the process to speed up?
Mostrar comentarios más antiguos
Hi! I've got a program that collects data and is supposed to run for days, if not a week or so, collecting data continuously (once every 3). As it collects it, it also plots it. I run into trouble as the program goes on, however because I'm storing 48bits of memory every 3 seconds. My question becomes now, is there a way to force Matlab to use single precision when storing data (instead of 8 bits per readout, have it be 1 or 2)? Also if there's a way to predetermine how much data is displayed at one time. The plots are a large drain on the memory too, and so I've decided to only allow for a max of 10 hours of data to be displayed, clearing the earliest 2 hours each time it reaches 10 hours. Problem becomes, I can't flush the data without clearing the whole plot.
Thanks!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!