A Simple (de)compression program using Run Length Encoding.
Compression is done that easy:
compressedData = rle(originalData)
Decompression:
originalData = rle(compressedData)
% PURPOSE : Demonstrate the differences between the following
% filters on a Simple DBN.
%
% 3) Particle Filter (PF)
% 4) PF with Rao Blackwellisation (RBPF)