Modified Bessel function of the zero and first order

조회 수: 4 (최근 30일)
Samuel Suakye
Samuel Suakye 2017년 6월 8일
댓글: Samuel Suakye 2017년 6월 8일
These are my codes
% Figure 1 % Motionless breather figure clear; clc; % hbar(Naturalpunits)=1; hbar=6.5821220*10e-16; Wp=10e12; T=300; K=8.617385*10e-5; W=0.7071; m=9.1093897*10e-31; beta=1/(K*T); d=(100:22:300)*10e-10; delta=0.01:0.05:0.5; za=(delta.*beta); %% B1=besseli(0,za); B2=besseli(1,za); [D,DELTA]=meshgrid(d,delta); [b2,b1]=meshgrid(B2,B1); %Wo=((Wp^2*n*d.^2.*delta.*B2)/(hbar^2*B1)); Q=Wp^2*D.^2.*DELTA.*b2.*m; R=(b1.*hbar^2); Wo=(Q./R).^2; mesh(Wo) %% %surfl(Wo) %colormap(jet) % change color m surf(D,DELTA,abs(Wo)); surf(d,delta,Wo); %surf(d,delta,abs(Wo.^2)) xlabel('d') ylabel('delta') zlabel('Wo^2') hold on grid on
  댓글 수: 3
Samuel Suakye
Samuel Suakye 2017년 6월 8일
Not getting the expected graph As
Samuel Suakye
Samuel Suakye 2017년 6월 8일
figure clear; clc; {hbar=6.5821220e-16}; {Wp=1.0e12;} {T=300;} {K=8.617385e-5;} {W=0.7071;} {m=9.1093897e-31;} {beta=1/(K*T);} {d=(100e-10:22e-10:300e-10);} {delta=0.01:0.05:0.5;} {za=(delta.*beta);} %% {I_0=besseli(0,za); } {I_1=besseli(1,za);}
{[I1,I0,] = meshgrid(I_1, I_0);} {[D,Delta] = meshgrid(d,delta);}
{Wo = {(((Wp.^2).*m.*(D.^2).*Delta.*I1)./((hbar.^2).*I0)).^0.5};}
%% {surf(d,delta,Wo)} %surf(D, Delta, Wo) {xlabel('d')} {ylabel('delta')} {zlabel('Wo^2')} {hold on} {grid on}
the problem is am suppose to get a contour like this but am not getting it

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Bessel functions에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by