how to make lenses in matlab?

37 vues (au cours des 30 derniers jours)
bsd
bsd le 30 Août 2011
Commenté : PRAKASH JOSHI le 28 Mar 2019
Dear sir/madam,
I am working on optical lenses. I need to create lenses such as biconvex, biconcave, planoconvex and planoconcave for my project. How could I do this in matlab? Looking forward to hearing from you soon.
Thanking you, BSD
  1 commentaire
PRAKASH JOSHI
PRAKASH JOSHI le 28 Mar 2019
How do I find the off focus points after the fft

Connectez-vous pour commenter.

Réponses (1)

Bjorn Gustavsson
Bjorn Gustavsson le 30 Août 2011
There is at least one tool for calculating ray-paths through optical systems on the file exchange: http://www.mathworks.co.uk/matlabcentral/fileexchange/27412-opticalbench
HTH
  12 commentaires
bsd
bsd le 13 Sep 2011
I have drawn the rays through the lens, it is working fine. It is also undergoing refraction. Now, after the rays come out of the surface 2 of the lens, they go to infinity. So I need to draw the rays from the surface 2 upto infinity, or my rays should appear something like it is going to infinity after refraction at surface 2. How could I do this in matlab? Looking forward to hearing from you soon.
BSD
bsd
bsd le 23 Sep 2011
You have drawn the lens in matlab in 3D, how is it done? I used the lens equation y=sqrt((n^2-1)*((x-f)^2))+((2)*(f)*(n-1)*(x-f)));
to draw a hyperbolic lens. where n is the refractive index of the lens, f is the focal length of the lens. The above equation was taken from "Antenna handbook, volume II, antenna theory, chapter 16, by Y.T. Lo and S.W. Lee", Please reply....

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by