Data Compression in Simulink (currently with a quadtree) / Variable-Size Matrix
Afficher commentaires plus anciens
I need to compress some data I simulated in Simulink. Also, the result of the compression needs to be accessible in simulink (in the same programm, so during the simulation).
I managed to compress the data (a huge matrix) with a quadtree. The calculation of it is done in a matlab function block and the quadtree is saved in one 1xn Array. The matrix has a lot of areas with the same values, so the quadtree only needs a small percentage of the original storage space. Since the layout of the quadtree depends on the actual values in the matrix, the size is variable. Simulink can not deal with a variable-size matrix as the output of the matlab function.
So does anyone has another idea to compress the data or to deal with the variable-size array? It doesn't have to be a quadtree.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Array and Matrix Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
