Borrar filtros
Borrar filtros

LZ77 help with coding a signal

3 visualizaciones (últimos 30 días)
Simard Clauss
Simard Clauss el 22 de Mzo. de 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

Respuestas (0)

Categorías

Más información sobre Data Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by