How do I plot fractional orders of the Bessel function of the first kind (e.g. J_{1/3}(x))? Can I still use the besselj function?
4 views (last 30 days)
Show older comments
clc;clear all;clf;
x=-20:0.1:20;
J1/3=besselj(1/3,x);
figure(1)
plot(x,J1/3,'k');
grid on
legend('J_{1/3}')
xlabel('x');ylabel('J_1/3(x)')
0 Comments
Answers (1)
VBBV
on 13 Dec 2021
clc;clear all;clf;
x=-20:0.1:20;
J13=besselj(1/3,x); % change the variable befoe use in besselj function
figure(1)
plot(x,real(J13),'k');
grid on
legend('J_{1/3}')
xlabel('x');ylabel('J_1/3(x)')
Use the correct variable naming convention
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!