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

The popular online course on data analysis in the geosciences will be taught bilingual using the two leading programming languages and development environments MATLAB and Python in parallel on 15–19 September 2025. The course is based on my books MATLAB Recipes for Earth Science (Springer 2025) and Python Recipes for Earth Sciences (Springer 2024).

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

Controlling Motors and Read Sensors of LEGO MINDSTORMS with Python

A LEGO vehicle with two motors and an ultrasonic sensor that stops 30 cm in front of an obstacle and then reverses was one of the first programming exercises in the data acquisition practical that we developed in 2017. We used the MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware to connect the LEGO vehicle with MATLAB Desktop on a computer to solve for Exercise #2. While this support continues to be offered for Windows, Linux and macOS (Intel), it is not available for macOS (Apple Silicon). Exercise #15 uses a Python solution for programming the LEGO vehicle – but do not expect too much! Continue reading “Controlling Motors and Read Sensors of LEGO MINDSTORMS with Python”

Stratigraphic Correlation of Multiple Sediment Cores Using MATLAB, Part 2

In geological drilling projects, two or more parallel cores often collected in order to compensate for core losses during drilling by overlapping sequences. Correlation of the core is a time-consuming and complex process that is usually done by very experienced geologists. Yesterday I posted the script for manual correlation of core records based on visual inspection of the record of sediment physical properties. This post explains how to use dynamic time warping for automated correlation of cores. Continue reading “Stratigraphic Correlation of Multiple Sediment Cores Using MATLAB, Part 2”