Similarities and Differences in MATLAB, Python and Julia Syntax

If you want to write code for geoscientific data analysis independent of the programming language, a comparison of the syntax helps. And there are many similarities, not least because the languages inspire each other, even in the names of functions, which makes trilingual coding easy. Here is an example. Continue reading “Similarities and Differences in MATLAB, Python and Julia Syntax”

The Recipes for Earth Sciences Go Trilingual: MATLAB, Python and Julia

It’s been almost 30 years since I started with MATLAB, coming from FORTRAN77, and at a time when Python was still in its infancy and 20 years before Julia was developed. In the meantime, Python seems to be more popular than MATLAB in the geosciences, but may soon be replaced by Julia – time for change, also for me!

Continue reading “The Recipes for Earth Sciences Go Trilingual: MATLAB, Python and Julia”

Create Publishable Graphics with MATLAB … or Python?

My blog post “Create Publishable Graphics with MATLAB, Part 1” goes viral! Matt Hank, subsurface data scientist and founder of Subsurface Underground, and Maurizio Petrelli, professor at U Perugia and author of the Introduction to Python in Earth Science Data Analysis book (Springer 2021), took up the challenge and converted my MATLAB code to Python! The result doesn’t look too bad I have admit! Continue reading “Create Publishable Graphics with MATLAB … or Python?”

New Textbook “Signal and Noise in Geosciences” (Springer 2021)

The new textbook “Signal and Noise in Geosciences” (Springer 2021) introduces methods of data acquisition in geosciences using MATLAB together with inexpensive data acquisition systems, such as the sensors on board of smartphones, sensors that come with the LEGO MINDSTORMS set, webcams with stereo microphones, affordable spectral and thermal cameras. Continue reading “New Textbook “Signal and Noise in Geosciences” (Springer 2021)”

MATLAB Recipes in Three Different Languages

In early 2022, the German translation of MATLAB Recipes for Earth Science will be published, following the original English-language edition and a Chinese translation of the 3rd edition a few years ago. Maybe it’s time for other programming languages?