When editing the images of the MAPIR Survey 2 NDVI camera, I learned a lot about how cameras actually capture and store images. The knowledge was important in order to properly import the images into MATLAB, process them and compute an NDVI image of them. If you do not do it right, you can see it immediately: You do not get a nice picture! Continue reading “Multispectral Cameras, Bayer Mosaics and Image Processing with MATLAB”
The excellent graphics capabilities of MATLAB make it virtually unnecessary to edit graphics with vector graphics software (see blog post “Create Publishable Graphics with MATLAB“). Only very occasionally we need such software, for example to edit graphics that have not been created with MATLAB. Which both commercial and free software do you recommend your to students for this? Continue reading “Which vector graphics software do you recommend to your students?”
Our newest work on past climate change in southern Ethiopia is out, using a MATLAB-based change point analysis to define the relative abruptness of climate transitions.
During our current summer school on Earth Surface Dynamics 2018 we learned how to calculate the Normalized Difference Vegetation Index (NDVI) from Sentinel-2 images. Here is a simple MATLAB script to import Sentinel-2 images and to calculate the NDVI. Continue reading “Calculating NDVI Maps from Sentinel-2 Data with MATLAB”
The XrdML file format is used to store X-ray powder diffraction measurements. Since XrdML format using the .xrdml file extension is an XML-based open file format using an ASCII format, reading such files with MATLAB is easy. Here is an example of reading multiple XrdML files from a file directory, convert the files in text files, display the measurements together with standard mineral data from a XRD data base. Continue reading “Reading and Processing XrdML Files Storing X-Ray Powder Diffraction (XRD) Data With MATLAB”
In a time series project, we faced the problem that we needed more than two axes. The function plotyy or the new function yyaxis was not sufficient. I solved that with a simple script that displays any number of axes. Continue reading “Drawing multiple axes in MATLAB”
Today the 2nd Edition of MDRES was published at SpringerNature, now with the new title “Collecting, Processing and Presenting Geoscientific Information“. The book, with coauthor and designer Dipl.-Ing. (FH) Elisabeth Sillmann from BlaetterwaldDesign, aims at introducing students to searching relevant literature, reviewing and ranking published books and journal articles, extracting relevant information from the literature in the form of text, data, or graphs, searching and processing the relevant original data using MATLAB, and compiling and presenting the results as posters, abstracts, and oral presentations using graphics design software.
During the current MATLAB data analysis course, we discussed the safest way to import data into MATLAB. Like all the years before, I still recommend saving the data in ASCII format, checking it carefully and then importing the data into MATLAB – despite the availability of functions such as xlsread in MATLAB. Continue reading “How to Stop Excel Automatically Changing Numbers to Dates”