用matlab符号工具箱证明范德蒙矩阵的行列式.
问题描述:
用matlab符号工具箱证明范德蒙矩阵的行列式.
答
clear all;n = 5;% for i=1:n% for j=1:n% x(i,j) = sym(['x',num2str(i),'_',num2str(j)]);% end% endfor i=1:nx(i) = sym(['x',num2str(i)]);endfor i=1:ny(i,:) = x.^(i-1);endfactor(det(y))