arithmetic coding and decoding
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello, can any one help me to correct an error in this code?? i used this code http://www.mathworks.com/matlabcentral/fileexchange/33070-arithmetic-coding-and-decoding but i get this error an arith-code
??? Error using ==> filter
Arguments must be single or double.
Error in ==> polyval at 52
y = filter(1,[1 -x],p);
Error in ==> bin2dec at 3
dec = polyval(bin, 2); %in-built function
Error in ==> Arith_Code at 55 Store_Byte(k_Loc)=bin2dec(e8bits);
thank you very match
댓글 수: 0
답변 (1개)
Walter Roberson
2012년 7월 1일
At the command line, try
which -all bin2dec
It appears to me that you have your own bin2dec.m file that is overriding the MATLAB-supplied bin2dec.
Also, please put a breakpoint at that particular line of Arith_Code, and verify that class(e8bits) is char
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!