摘要:
x=[ -3 -1 0 2 5.5 7];y=[3.3 4.5 2.0 1.5 2.5 -1.2];p3=polyfit(x,y,3);p4=polyfit(x,y,4);%次数p5=polyfit(x,y,5);xcurve=-3.5:0.1:7.2;%生成x的值p3curve=polyval(p 阅读全文
摘要:
% A=[1 2 3; 4 5 6];% B=[11 12 13 ; 14 15 16];% %构造三维矩阵C% C=(:,1)=A;% C=(:,:,2)=B; % 10的教程?????excuse??? 这个不是很懂% disp('hello matlab')% A=[1 2;3 4]% B=[ 阅读全文