An Artificial Neural Network with Backpropagation in 6 Steps

Artificial neural networks (ANNs) have been used for quite some time to identify, for example, flowers in easy-to-use apps on smartphones. They have been, however, the focus of great attention since the introduction of generative artificial intelligence chatbots like OpenAI’s ChatGPT. Here is the MATLAB and Python code of an artificial neural network with backpropagation in 6 Steps.

Continue reading “An Artificial Neural Network with Backpropagation in 6 Steps”

Capturing Spectral Images with the new MAPIR Survey3 Camera

Thanks to the ongoing support of MathWorks Inc. through their Curriculum Development Program, I was able to purchase two additional spectral cameras. The MAPIR Survey2 cameras are no longer available. They have been replaced by the Survey3, which has slightly different features. Here is an example of how to import and process the RAW images in MATLAB.
Continue reading “Capturing Spectral Images with the new MAPIR Survey3 Camera”

Creating Animated 3D Objects with MATLAB

Ever since the introduction of electronic devices with touch controls, interactive 3D graphics objects have become increasingly popular in multimedia electronic books (ebooks). The Lidar Toolbox and the Computer Vision Toolbox from MathWorks provide the necessary tools for creating and exporting 3D graphics objects for inclusion in documents such as multimedia ebooks, interactive websites, and presentations (MathWorks 2025a, b).

Continue reading “Creating Animated 3D Objects with MATLAB”

Creating Animated 3D Objects with Python

Ever since the introduction of electronic devices with touch controls, interactive 3D graphics objects have become increasingly popular in multimedia electronic books (ebooks). The Open3D and the Rasterio packages for Python provide the necessary tools for creating and exporting 3D graphics objects for inclusion in documents such as multimedia ebooks, interactive websites, and presentations.

Continue reading “Creating Animated 3D Objects with Python”

MATLAB Example to Illustrate John Aitchison’s Log-Ratio Transformation, Part 4

John Aitchison spent much of his career addressing the unique challenges of statistics for compositional data. His legacy is being carried on by colleagues who do not always succeed in presenting the material in a way that is understandable to geoscientists. Now in the fourth part of a series of blog posts, I am attempting to address the problems of closed data and possible workarounds using a series of simple MATLAB simulations, without frustrating geoscientists with mathematical formulas.

Continue reading “MATLAB Example to Illustrate John Aitchison’s Log-Ratio Transformation, Part 4”