下列哪个函数为拟合函数(  )。
A、 P=polyfit(X,Y,3)
B、 Y1=interp1(X,Y,X1,.method.)
C、 [Y,I]=sort(A,dim)
D、 R=corrcoef(X)
出自:石家庄铁道大学通MATLB仿真技术