Data Compression in Simulink (currently with a quadtree) / Variable-Size Matrix
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!