x=ceil(9.*rand(100,1));%产生0~9的随机数100个 y=[x.^4 x.^3 x.^2 x] %
>> for i=1:100x=floor(10*rand()); y(i,:)=[x^4,x^3,x^2,x]; end y