function mat = matcantor(sp)

l = length(sp);
t = [];

for k = 1:l
    for kk = 1:l
        t(k,kk) = sp(kk)^(k-1);
    end
end

mat = t;
       

end


