Hi. Im making a timeseries "ts" of data size NxM and typ uint8 and time vector of size Nx1 of type double. When i write ts.data(idx)=uint8(255), where idx is an idexing matrix, i get -1 as values instead of 255 on all locations that idx is pointing?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
uint8 timeseries overflow?
1 comentario
dpb
el 19 de En. de 2017
Show code that illustrates the problem; I had no issue w/ a table containing uint8(255) here...
Respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!