Collaborative Coding with Git and MATLAB Projects

In many projects it is necessary to share the result of programming work with other colleagues – or to work together on these projects. In the MRDAES book, Chapter 2.8.5 describes how to collaborate on MATLAB projects with collaborators with four different levels of MATLAB skills: (1) no software installed and no experience with MATLAB, (2) software installed but only limited MATLAB skills, and (3) software installed and good MATLAB skills. Below you find an update of this chapter, which now also includes using (4) MATLAB Projects to organize and collaborate on large programming projects together with Git, the most popular version control system for programming projects.

Continue reading “Collaborative Coding with Git and MATLAB Projects”

Principal Component Analysis in 6 Steps – the Python Version

The Principal Component Analysis (PCA) is equivalent to fitting an n-dimensional ellipsoid to the data, where the eigenvectors of the covariance matrix of the data set are the axes of the ellipsoid. The eigenvalues represent the distribution of the variance among each of the eigenvectors. To understand the method, it is helpful to know something about matrix algebra, eigenvectors, and eigenvalues. Here is a n=2 dimensional example to perform a PCA without the use of the NumPy function pca, but with the function of eig for the calculation of eigenvectors and eigenvalues. Continue reading “Principal Component Analysis in 6 Steps – the Python Version”

Online Courses in Modern Data Analysis Methods in Earth Sciences with Python and MATLAB

Nearly 30 years ago, I began teaching compact courses on data analysis in the earth sciences. Almost 20 years ago, I started thinking about writing textbooks. Now there are five textbooks and many different course formats for you. Here is an overview of the current options! Continue reading “Online Courses in Modern Data Analysis Methods in Earth Sciences with Python and MATLAB”

MATLAB Code of “TURBO2: A MATLAB simulation to study the effects of bioturbation on paleoceanographic time series” (Trauth, C&G 2013)

Here you find the MATLAB code and data of my paper “TURBO2: A MATLAB simulation to study the effects of bioturbation on paleoceanographic time series” published in the Elsevier journal Computers & Geosciences. Continue reading “MATLAB Code of “TURBO2: A MATLAB simulation to study the effects of bioturbation on paleoceanographic time series” (Trauth, C&G 2013)”

55th Online Shortcourse on MATLAB & Python Recipes for Earth Sciences

The popular online course on data analysis in the geosciences will be taught bilingual for the first time, using the two leading programming languages and development environments MATLAB and Python in parallel on 19–23 September 2022. The course is based on the 5th edition of my book MATLAB Recipes for Earth Science (Springer 2021) and on the new book Python Recipes for Earth Sciences (Springer, in press).

Continue reading “55th Online Shortcourse on MATLAB & Python Recipes for Earth Sciences”