loop in integral plot
2 次查看(过去 30 天)
显示 更早的评论
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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!