필터 지우기
필터 지우기

LZ77 help with coding a signal

조회 수: 3 (최근 30일)
Simard Clauss
Simard Clauss 2019년 3월 22일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by