1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > matlab贝塞尔函数的根 matlab画贝塞尔函数根分布的曲线图.doc

matlab贝塞尔函数的根 matlab画贝塞尔函数根分布的曲线图.doc

时间:2019-12-11 23:55:16

相关推荐

matlab贝塞尔函数的根 matlab画贝塞尔函数根分布的曲线图.doc

matlab画贝塞尔函数根分布的曲线图.doc

主程序:clcclearw=0:0.1:12;y0=Besselj(0,w);y1=Besselj(1,w);y2=Besselj(2,w);plot(w,y0, o- ,w,y1, *- ,w,y2, s- );legend( besl0 , besl1 , besl2 );gridon;title( 0阶、1阶、2阶第一类贝塞尔函数曲线图 );xlabel( VariableX );ylabel( VariableY );axis([0,12,-0.6,1]);y00=bessely(0,w);y11=bessely(1,w);y22=bessely(2,w);figure;plot(w,y00, o- ,w,y11, *- ,w,y22, s- );legend( besl00 , besl11 , besl22 );gridon;axis([0,12,-1,0.8]);title( 0阶、1阶、2阶第二类贝塞尔函数曲线图 );xlabel( VariableX );ylabel( VariableY );d0=besseld(0,w);d1=besseld(1,w);d2=besseld(2,w);figure;plot(w,d0, o- ,w,d1, *- ,w,d2, s- );legend( 0阶导 , 1阶导 , 2阶导 );gridon;title( 0阶、1阶、2阶第一类贝塞尔函数导数曲线图 );xlabel( VariableX );ylabel( VariableY );axis([012-0.80.8]);求第一类贝塞尔函数导数的程序:function[y]=besseld(n,x)ifn==0y=-Besselj(1,x);elsey=(Besselj(n-1,x)-Besselj(n+1,x))/2;endend024681012-0.500.51VariableXVariableY0、、1、、2、、、、、、、、、、、、besl0besl1besl2024681012-1-0.8-0.6-0.4-0.200.20.40.60.8VariableXVariableY0、、1、、2、、、、、、、、、、、、besl00besl11besl22024681012-0.8-0.6-0.4-0.200.20.40.60.8VariableXVariableY0、、1、、2、、、、、、、、、、、、、、0、、1、、2、、

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。