This project explores advanced concepts in optics, such as light propagation, polarization, lens modeling, and Fourier analysis, using MATLAB. It includes theoretical explanations, simulations, and visualizations to analyze various optical phenomena.
- Objective: Analyze light transmission through polarizers and glass plates to determine conditions for polarization and calculate Brewster angles.
- Key Steps:
- Simulate light interaction with a polarizer.
- Calculate transmission coefficients based on angle and refractive index.
- Objective: Model and simulate wavelength-dependent lens behavior using ray tracing and ABCD matrices.
- Key Steps:
- Simulate lens focal lengths based on refractive indices.
- Analyze ray progression through the optical system.
- Objective: Perform diffraction and aperture analysis using Fourier transforms and Fresnel propagation.
- Key Steps:
- Simulate circular apertures and diffraction patterns.
- Analyze intensity distributions using custom MATLAB functions.
- Language: MATLAB
- Tools: Fourier Transform, Fresnel Propagation, ABCD Matrices
- Visualization: Surface Plots, Heatmaps, Custom Visualizations
- Mathematical Models: Polarization, Ray Tracing, Diffraction Analysis
.
├── Electro-optics part A.pdf # Answers and code for Part A
├── Electro-optics part B.pdf # Answers and code for Part B
├── Electro-optics_part1-Instructions.pdf # Instructions for Part 1
├── Electro-optics_part2-Instructions.pdf # Instructions for Part 2
├── Electro-optics_Q1.m # MATLAB script for Question 1
├── Electro-optics_Q2.m # MATLAB script for Question 2
├── Electro-optics_Q3.m # MATLAB script for Question 3
├── circ.m # Function to generate circular apertures
├── propFresnel.m # Function for Fresnel propagation
├── F.m # Custom Fourier transform function
├── iF.m # Custom inverse Fourier transform function
├── jinc.m # Jinc function for Fraunhofer diffraction
├── LICENSE # License file for the repository
└── README.md # Project documentation
- MATLAB installed on your system.
- Clone the repository:
git clone https://github.com/12danielLL/electro-optics-project.git cd electro-optics-project
- run('Electro-optics_Q1.m')
- run('Electro-optics_Q2.m')
- run('Electro-optics_Q3.m')
The scripts generate various plots and visualizations, such as diffraction patterns, ray tracing, and intensity distributions.
- Simulated transmission coefficients for various polarizer angles.
- Calculated Brewster angle for optimal polarization.
- Modeled lens focal lengths for multiple wavelengths.
- Simulated ray tracing through lenses, showing clear progression.
- Generated circular aperture diffraction patterns.
- Visualized intensity distributions using Fourier and Fresnel transforms.
This project is licensed under the MIT License - see the LICENSE file for details.
- Daniel Brooker
GitHub: 12danielLL
- Special thanks to Prof. Zeev Zalevsky for guidance and to course assistants Nadav Shvero and Sami Apsal for their support.