plot of equation of function
4 views (last 30 days)
Show older comments
k0=2*pi/632.8e-9;
n1=1.512;
n2=1.521;
n3=2.66;
n4=0.15+1i*3.5;
t2=2e-6;
m=0;
t3=1e-9:1e-6;
k1=@(x) k0*sqrt(n1^2-x^2);
k2=@(x) k0*sqrt(n2^2-x^2);
k3=@(x) k0*sqrt(n3^2-x^2);
k4=@(x) k0*sqrt(n4^2-x^2);
y=@(x,t3)-(k2)*t2+atan(k1/1i*k2)+atan((k3/k2)*tan(atan(k4/1i*k2)-k3*t3))+m*pi;
plot(t3,real(x))
plot(t3,imag(x)
8 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!