loop in integral plot

function y=f(theta)
L=10;
n1=1-l^2/2;
nc=1;
Neff(theta)=L/tan(theta);
y=((Neff(theta)*n1^2*sin(theta)*cos(theta)/(1-n1^2*cos(theta)^2)^2))/ (n1^2*sin(theta)*cos(theta)/(1-n1^2*cos(theta)^2)^2);
I1=integral(f,asin(nc/n1),pi/2);
disp(I1)
end
plot between l vs I1

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Programming 的更多信息

产品

版本

R2021b

标签

Community Treasure Hunt

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

Start Hunting!

Translated by