作业帮 > 综合 > 作业

matlab 指数函数求导后的图像

来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/05/02 04:45:11
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 编的
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