您当前的位置: 首页 >  matlab

jeff one

暂无认证

  • 0浏览

    0关注

    220博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

matlab求导/积分函数

jeff one 发布时间:2021-12-05 16:17:20 ,浏览量:0

matlab求导函数

求n阶导函数

syms x
y=atan(x)
dy=diff(y,x)
figure(1)
ezplot(dy)
d2y=diff(y,x,2)
figure(2)
ezplot(d2y)

二阶图像: 在这里插入图片描述

一阶图像: 在这里插入图片描述 matlab 求积分

1.定积分:

syms x
fun=x*sin(x)
int(fun,x,0,2*pi)

2.不定积分:

syms x,y,z
fun=sin(x*y+z)
int(fun,x)

matlab解决积分问题:

y=dsolve('D2y+2*x=2*y','x')
y=dsolve('Dy=1/(1+x^2)-2*y^2','y(0)=0','x')
ezplot(y)
关注
打赏
1661150981
查看更多评论
立即登录/注册

微信扫码登录

0.0413s