LZ77 help with coding a signal

20 views (last 30 days)
Simard Clauss
Simard Clauss on 22 Mar 2019
Hello everybody. Please I need help with ths, or at least some ideas : Program in MATLAB a function named lz77 to compress the signal from the above example (0010102102102124010102100) using a sliding window of size N units and a dictionary of size n1 unit. Note that you must use the unit type to represent the symbols of the signal to be coded. Each element of the triplet (position, length, next) will also be represented by the type unit. I am a beginner with this matter and I feel lost here is my work but it doesn't run.Thank you
function [transmitMat,compParam] = lz77(inputVar,windowType,windowSize)
%Author :
%****************************************************************************
%Inputs: inputVar = input variable to be compressed.
% windowType = decides the window type for the dictionary
% used for compression: 'Fixed' or 'Growing'
% windowSize = number that specifies size of the sliding
% window
%Outputs: transmitMat = table variable that returns the compression result
% compParam = struct variable that returns the
% compression paramaters
input = inputVar;
end

Answers (0)

Categories

Find more on Data Types in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!