Download this file
1 2 3 4 5 6 7 8 9
function res = partialDCT(n,m,J) res.adjoint = 0; res.n = n; res.m = m; res.J = J(1:m); % Register this variable as a partialDCT class res = class(res,'partialDCT');