returns transformation to go from idv to cumomers. cdv = idv2cdv(log2(length(idv)))*idv;
0001 function [out] = idv2cdv(n) 0002 % returns transformation to go from idv to cumomers. 0003 % cdv = idv2cdv(log2(length(idv)))*idv; 0004 0005 if n <= 0 0006 out = [1]; 0007 return; 0008 end 0009 0010 T = idv2cdv(n-1); 0011 out = [T,T;zeros(size(T)),T];