Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Write your own program for paraxial ray tracing - Here's mine in MatLab
Play lesson

Optics and Optical Design - Write your own program for paraxial ray tracing - Here's mine in MatLab

5.0 (4)
35 learners

What you'll learn

This course includes

  • 13.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Full Transcript

Viewers have asked me to describe my homemade MatLab function that performs ray tracing on a refractive lens system. The program can sequentially analyze an arbitrary number of lens elements with an aperture stop located anywhere along the lens. Aberration coefficients are computed, along with Petzval radius and distortion percent. System properties (aperture metrics and field metrics) are also included in a system report file. All this in less than 300 lines of code. The relevant optical concepts are explained along the way. I made this video, at the request of viewers, in order to provide an example program to those who wish to write their own code, and hopefully write it better than I did. Please don't ask me to provide a copy of my code. The idea here is to provide an example to people who want to write their own program relying on their own programming skills and their own preferred programming language. It's right in the title, "Write you own..." Please consider clicking on "LIKE". I don't get paid for creating this content, and your positive feedback is the only encouragement that I receive to continue creating this kind of helpful material. Since making this video, I have since started using a more accurate non-paraxial form of the diffraction paraxial ray trace equation (which I often call PRTE2). I think it will have small effect, but maybe enough to improve accuracy when there is a large number of surfaces. Here's the link to the video showing this non-paraxial form. https://youtu.be/UgjOsUgAN0M?t=1273 References are made in this video to these two books: Introduction to Lens Design: With Practical ZEMAX Examples, by Joseph M. Geary Introduction to Lens Design, by José Sasián OpticStudio is a product of Zemax, an Ansys Company, www.zemax.com MatLab is a product of MathWorks, www.mathworks.com #lensdesign #opticaldesign

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere