Institute of Earth Sciences Coders

Let's code!



Solving nth order differential equation for a given boundary condition

We are going to solve the¬†differential equation with the boundary conditions $latex \psi_{xx} +[100 - \beta ]\psi = 0$ $latex \implies \psi_{xx} = [\beta - 100] \psi$ Let's take the simpler boundary condition $latex \psi(x=\pm 1) =0$. Now, the first... Continue Reading →

Spectral Analysis of wide variety of data in MATLAB

Signals can be any time-varying or space-varying quantity. Examples: speech, temperature readings, seismic data, stock price fluctuations. A signal has one or more frequency components in it and can be viewed from two different standpoints: time-domain and frequency domain. In... Continue Reading →

Calculating the curvature of a curve

  The curvature of the curve is the amount by which it deviates from being a straight line. It is defined as the reciprocal of the radius of the best fitting circle.¬†So, the curvature of a straight line is zero.... Continue Reading →

Locating Earthquake using Geiger’s Method

Earthquake location problem is old, however, it is still quite relevant. The problem can be stated as to determine the hypocenter (x0,y0,z0) and origin time (t0) of the rupture of fault on the basis of arrival time data of P... Continue Reading →

Travel-time curve calculation for the Spherical Earth (PREM Model)

I have used the Preliminary Reference Earth Model of Dziewonski and Anderson (1981) to calculate the travel time curve. This model is very robust in the sense that it is designed to fit a wide variety of data including free-oscillation,... Continue Reading →

Linux Tutorial (Data Processing)

In the last tutorial, we have seen the basics of the Linux commands. Now, we will learn some more tools which we can use to do data processing. We will see the uses of for loop, while loop, awk command,... Continue Reading →

Normal Mode Summation for calculating the synthetic seismogram for a string

When we pluck a string fixed at both ends, then this will creating a standing wave. We can get some insights on the behavior of the propagating wave by considering normal modes or free oscillations of the string. A wave... Continue Reading →

Calculating Pressure and Tension axis given the fault plane (strike, dip and rake): Analytical solution

The fault plane is characterized by its normal vector and the direction of its motion is given by the slip vector. Here, we calculate the normal vector and the slip vector for a given fault geometry. The orientation of the... Continue Reading →

Linux Tutorials ( For beginners )

Linux is a very powerful platform which can be used to do almost everything in computer world. It is an open-source and free operating system. There are various distributions of Linux operating system including Ubuntu, Fedora, Debian, Mint, Opensuse etc.... Continue Reading →

Powered by

Up ↑