Skip to content

A simple optical ray tracing simulation based on Snell's law and Fresnel equations for MATLAB and OCTAVE

Notifications You must be signed in to change notification settings

MansourM61/OpticalRayTracer

Repository files navigation

OpticalRayTracer

A simple optical ray tracing simulation based on Snell's law and Fresnel equations for MATLAB and OCTAVE.

  • Open RayTracer.m file in either MATLAB or OCTAVE.
  • Change the geomtry of the optics and corresponding refractive indices based on the need.
  • Define any number of sources you need with specific location, propagation direction and optical power.
  • Define farfield radius, resolution, etc for farfield radiation pattern estimation.
  • Set the ray tracing parameters including the maximum number of bouncing rays, minimum tracable power ray, etc.
  • Run the code and get the ray tracing plot as well as farfield radiation pattern.

Ray Tracing Results

Screenshot

Farfield Radiation Pattern

Screenshot

About

A simple optical ray tracing simulation based on Snell's law and Fresnel equations for MATLAB and OCTAVE

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy