how to plot double integral of bessel function?

5 views (last 30 days)
I want to plot the below written function but it showing an error "' int' for input arguments of type 'double'. "
k = 10^4;
z = 0:10^(-6):10^(-5);
y = z.*besselj(0,(k*z));
a = int(y,z);
b = a/z;
c = b^0.5*(-266.46);
d = int(c,z);
plot(z,d);

Answers (1)

Mikhail
Mikhail on 26 Aug 2014
Do you have Symbolic Math Toolbox? Function int is in this toolbox.

Community Treasure Hunt

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

Start Hunting!