software

Fourier Reconstruction of an Image

Dec 11, 2014

Any image can be reconstructed using just a superposition of plane waves of different spatial frequencies. This is a numerical experiment using a NumPy script that reconstructs an image one frequency component at a time.

Tags: math, signals, software

Line Codes - Matlab / GNU Octave Code

Jul 19, 2012

I came up with the following approach to do line coding without for loops. My approach involves a bit of system theory, modulo 2 arithmetic, and sometimes just tricks founded on simple coincidence. So one is advised to be a little careful while sifting through the logic. But ultimately, the code is terse and fairly elegant.

Tags: signals, matlab, octave, software

Resistor Color Codes Script

Mar 17, 2012

I just decided to write a Python script to convert resistor color codes to resistance values. Later, I also wrote a script to do the reverse - namely to find the color code of a given resistor.

Tags: electronics, python, software, project

Signal Operations Applet

Mar 17, 2012

This is actually a set of two "applets" we did as part of an assignment for "Signals and Systems" in the fourth semester of college. The goal was to write an application which illustrated basic signal operations such as shifting, scaling, folding and also signal addition and multiplication.

Tags: signals, software

Spherical Coordinates Matlet

Mar 17, 2012

This "matlet" is work we did for an assignment we had in the third semester on Electromagnetic Fields. The problem statement was to create an applet which could plot surfaces in the spherical coordinate system.

Tags: math, matlab, software

Stochastic Simulation

Mar 17, 2012

This is a loose collection of programs we wrote as part of a course on "Stochastic Models" we had in the fourth semester of college. This includes a couple of pseudo random number generators (the Von Neumann middle square PRNG and the linear congruential generator PRNG), an implementation of the Monte Carlo method to determine area of an arbitrarily shaped figure and a simple simulation of birth-death process.

Tags: c, tcl, gnuplot, project, software

Tic Tac Toe

Mar 17, 2012

Sudhakar and I did the coding at the end of our first semester in college (actually, during our semester examinations!). We just wanted to kick start our entry into AI programming and thought teaching the computer to play tic tac toe might be a good start. We may do far greater things, but this is the first proper project we did and hence we are obviously proud of it!

Tags: c, project, software

Newer posts