Here is how I was implementing plasmonic materials in meep1.1 scheme code. Unlike Meep 1. 1, Meep >= 1. 2 changed the way materials are defined. Here I will describe …

My computer has many processors and I would like to run some octave scripts so that all the processors are being used.
One can use octave function called “pararrayfun” for …

To get spaces in the strings to work in matlab or octave, use
t1={‘test test’}
Result is
t1 =
{
[1,1] = test test
}
t2=strcat({‘test test ‘},{‘blah blah’})
Result is
t2 =
{
[1,1] = test …

The van der Pauw Method is a technique commonly used to measure the Resistivity and the Hall Coefficient of a sample. A correction factor goes into calculating the resistivity as …

A thin metal film in dielectric (also known as dielectric-metal-dielectric configuration) can support surface plasmons that are different in nature to the ones observed in thick metal-dielectric interfaces. Unlike, a …

In Octave or Matlab, some times one needs to eliminate certain elements in an array.
For example, if
a=[10,20,30,40,50,60];
and suppose I want to create a matrix “b” such that it has …

In MEEP (1.1.1), dielectric structures are often created by constructive geometry (adding and subtracting primitive shapes). The primitive shapes that are allowed are blocks, cylinders, ellipsoids and cones. To create …

The aim of this post is to share my experience in incorporating dielectric function of metals such as gold and silver into MEEP (a free finite difference time domain package) …