Modified Bessel function of the zero and first order
Show older comments
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 Comments
Torsten
on 8 Jun 2017
1. Please format your code (i.e. use the {} Code - button).
2. What is your question ?
Best wishes
Torsten.
Samuel Suakye
on 8 Jun 2017
Samuel Suakye
on 8 Jun 2017
Answers (0)
Categories
Find more on Bessel functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!