Reading a table data in Perl

In data analysis, we need to read the data in tabular format. We can do this easily and elegantly in Perl. (Refer to Using Perl for statistics - Giovanni Baiocchi for more) Let us take a tabular format data in the file "longley.reg". The data looks like following: X1 -52.99357014 129.54487 -.409 .6911 X2 .7107319907E-01... Continue Reading →

Let’s use Perl

Perl is a general purpose, high-level programming language. High-level language means, which you can use for wide variety of applications. It also has many modules available which can be used easily. It has made useful of great features from several other programming languages including C, shell script, awk, sed etc. This makes it even more... Continue Reading →

Moment Tensor Calculations

Programs: 1. --> it calculates the moment tensor matrix for given M0, strike, dip and rake 2. --> this program diagonalizes the given matrix. It can be used to diagonalize the moment tensor matrix as well. 3. --> it gives the isotropic and deviatoric part for a given moment tensor matrix 4. --> this gives the major and minor... Continue Reading →

Powered by

Up ↑

%d bloggers like this: