matlab 指数函数求导后的图像

问题描述:

matlab 指数函数求导后的图像
> 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 编的
1个回答 分类:综合 2014-11-19

问题解答:

我来补答
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

 
 
展开全文阅读
剩余:2000