from
Filter Bank Design
by Iman This function can be used to design uniform and non-uniform filter banks.
M=Find_LCM(x)
function M=Find_LCM(x)
%%%%%%%%%% This fucntion can find least common multiple between several
%%%%%%%%%% numbers.
temp=x(1);
for i=2:length(x)
temp=lcm(temp,x(i));
end
M=temp;