Data structure that handles variable size data elements.

Can i accomodate various sized integers together in an array like arr1=[1(1bit), 3(2bits), 6(3bits), 14(4bits), 31(5bits), 55(6bits), 121(7bits), 255(8bits)..so on..]. I want the variable should use the optimal storage by means of using variable size representations to the various elements in an array(as per requirement).

 采纳的回答

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by