Day 11

Thursday, July 21, 2017

Day 11


Today I worked mostly on translating a program written in Python into MATLAB which was pretty easy as Python and MATLAB are very similar in that they are both dynamically typed languages and have nearly the sane library of functions even though some are called differently. However, the developers of MATLAB have, for no apparent reason, decided that the first index of an array should be 1 instead of 0 like it is in almost every major programming language.

This program was originally written by Lauren to model the diffraction of light as it passed through an arbitrary aperture. I will be adapting it to model a Gaussian beam propagating through air.

No comments:

Post a Comment