Lisa Kempler, MATLAB Community Strategist at MathWorks, runs a great website at the Science Education Resource Center (SERC) at Carleton College, Northfield, Minnesota USA. The website provides a collection of geoscience-related MATLAB applications. Continue reading “SERC Teaching Geoscience with MATLAB”
Pearson’s linear product-moment correlation coefficient is highly sensitive to outliers, as can be illustrated by the following example. Several alternatives exist, such as Spearman’s rank correlation coefficient and the Kendall’s tau rank correlation coefficient, both contained in the Statistics and Machine Learning Toolbox. Continue reading “Outliers and Correlation Coefficients”
Since the introduction of electronic devices with touch controls, interactive 3D graphics objects have become increasingly popular in multimedia electronic books (ebooks). The Simulink 3D Animation available from The MathWorks, Inc. provides the necessary tools to create and export 3D graphics objects for inclusion in documents such as multimedia ebooks, interactive webpages, and presentations. Continue reading “Creating Animated 3D Files with MATLAB”
We can create video files, which we then integrate into multimedia publications. In principle, any video material can be used, such as recorded laboratory and field experiments, screen video captures or recorded computer animations. Here I demonstrate how to create a video of an animation with MATLAB.
Let us create some audio files with MATLAB, which we then integrate into multimedia publications. In principle, any audio material can be used, such as recorded nature sounds. Here is a preview of a section of a new chapter about multimedia publications of the upcoming 2nd Edition of MDRES.
A common error in the regression analysis is that bivariate data with an exponential relationship are log-transformed, then a best-fit line is calculated using a classical linear regression using the least squares, before the result is backtransformed. Here is a MATLAB example to show how to do it better. Continue reading “Classical Linear Regression of Log-Transformed Data”
The graphics of MATLAB have been greatly improved since the very rustic plots of the early 1990s. In contrast to previous editions, in which all the graphics were edited by designer Elisabeth Sillmann (blaetterwaldDesign) with Adobe Illustrator, the majority of the graphics of the 4th edition of MRES were not processed after being exporting from MATLAB. Here is the script for creating a variant of Figure 4.9 from MRES.