필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to decode this sequence losslessly?

조회 수: 1 (최근 30일)
alex
alex 2019년 1월 30일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello. I have a vector, for example: A=[-1 1 0 0 2 -2]. I used this algorithm to encode it: first I put three zeros in the beginning of the vector (zeropad=[0 0 0 -1 1 0 0 2 -2]). then for each symbol in A I use three previous values in 'zeropad' for computing min(abs(subtraction). I subtract the symbol from 3 previuos values and compute [M,I]=min(abs( subtraction); then, I subtract the symbol from the symbol corresponding to index I and send the result to decoder. the result of encoding is [-1 1 0 0 1 -2]. can any one help me to decode the sequence losslessly without sending side info to decoder? thanks for your time and attention.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by