> x=[950:10:1620];
F=0.002838*exp(-3.16*x)+0.08035*exp(0.01231*x);
y=diff(F);
plot(x,y)
??? Error using ==> plot
Vectors must be the same lengths.
需要怎么改才能输出图像
matlab 编的
x=[950:10:1620];
F=0.002838*exp(-3.16*x)+0.08035*exp(0.01231*x);
y=diff(F);
figure,
subplot(211),plot(x,F),grid on ,title('Orignal')
subplot(212)
plot(x(1:length(x)-1),y),grid on ,title('After diffrition')
详细的matlab操作过程 见 录像6.exe