function res=matriwrifi(N) P=zeros(N+1,N+1); for i=0:1:N P(i+1,:)=binomial(i/N,N); end res=P; endfunction