In my book Signal and Noise, I use LEGO MINDSTORMS components alongside smartphones and other technical devices to demonstrate methods of data acquisition in the geosciences. Here is an update. Continue reading “MATLAB/LEGO MINDSTORMS Practical Update”
The New MATLAB AI Chat Playground
The Community tab of the MathWorks website now offers the new AI Chat Playground. This allows you to transfer programming tasks to an AI – and try them out directly. Continue reading “The New MATLAB AI Chat Playground”
Statistics in Earth Sciences in 6 Steps
After 30 years of teaching statistical methods in the geosciences, I would like to give a few tips for our next generation. Back then, I was in awe of a term like chi-square test and kept my hands off it for a long time. However, I could not avoid complicated methods such as spectral analysis and filtering, because my doctoral project was about signal processing of paleoceanographic time series. Here we go. Continue reading “Statistics in Earth Sciences in 6 Steps”
PRES Ranked 7th and MRES Ranked 24th in Earth Sciences & Environment of Springer
The book “Python Recipes for Earth Sciences” (Springer 2022) is ranked 7th (Winter 2023/2024) in the Top 100 out of more than 4,600 books in Earth Sciences & Environment of Springer. The book “MATLAB Recipes for Earth Sciences” (Springer 2021) is ranked 24th. Thanks to all readers for buying the books!
Interpolating Unevenly Spaced Data With MATLAB
Most methods of time series analysis require evenly spaced time axes, which is why we have to convert unevenly spaced time series into a time series with an evenly spaced time axis using interpolation. Continue reading “Interpolating Unevenly Spaced Data With MATLAB”
Digitizing from the Screen – the Python Version
On-screen digitizing is a widely-used image processing technique. While practical digitizer tablets exist in all formats and sizes, most people prefer digitizing vector data from the screen. Examples of this type of application include the digitizing of river networks and catchment areas on topographic maps, of the outlines of lithologic units on geological maps, of landslide distributions on satellite images, and of mineral grain distributions in microscopic images. This chapter was not included in the first edition of PRES because of problems developing cross-platform Python code for digitizing images. These problems seem to be solved now, so a Python variant of minput can be presented here.
Continue reading “Digitizing from the Screen – the Python Version”
Digitizing from the Screen – the MATLAB Version
On-screen digitizing is a widely-used image processing technique. While practical digitizer tablets exist in all formats and sizes, most people prefer digitizing vector data from the screen. Examples of this type of application include the digitizing of river networks and catchment areas on topographic maps, of the outlines of lithologic units on geological maps, of landslide distributions on satellite images, and of mineral grain distributions in microscopic images. The chapter on digitization is Section 8.7 in the MRES book. Here is an updated version of the section for use with MATLAB.
Continue reading “Digitizing from the Screen – the MATLAB Version”
Calling Python from MATLAB
Now that the recipe book is available for both MATLAB and Python, many Python users will also look into the MATLAB version and discover the beauty of the older sister of Python. There is hope for these people, especially if they want to switch: you can call Python in MATLAB! Here is how.