📄 dctm_two.m
字号:
%this program is for the call of the dct transform matrix of type -11
function dctm=dctm(n)
for p=0:(n-1)
for q=0:(n-1)
t(p+1,q+1)=1/n^(1/2);
end
end
for p=1:(n-1)
for q=0:(n-1)
t(p+1,q+1)=(2/n)^(1/2)*cos(pi*(2*q+1)*p/(2*n));
end
end
dctm=t
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -