フィルターのクリア

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