?? lzcodelength.m
字號(hào):
%This m-file is named LZcodelength.m
%x = a binary datavector
%LZcodelength(x) = length in codebits of the encoder
%output resulting from the Lempel-Ziv coding of x
%
function y = LZcodelength(x)
u=LZparse(x);
t=length(u);
S=0;
for i=1:t;
S=S+ceil(log2(2*i));
end
y=S;
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -