-
Matlab Codes for Volcanology - Magma Viscosity
14 Aug 2013 | Contributor(s): Tom D Pering
A simple Matlab function for calculating the viscosity of magma. It is based on the method of Shaw (1972). Viscosities of magmatic silicate liquids: an empirical method of prediction. American Journal of Science 272, pp. 870-893 It requires the inputs:SiO2TiO2Al2O3Fe2O3MnOMgOCaONa2OK2OP2O5H2O -...
-
Matlab Codes for Volcanology - Magma Density
13 Aug 2013 | Contributor(s): Tom D Pering
A simple Matlab function for calculating the density of the magma. It is based on the method of Bottinga & Weill (1970) - Densities of silicate systems calculated from partial molar volumes of oxide components. American Journal of Science 269, pp. 169-182It requires the...
-
Normalising datasets in Matlab
13 Aug 2013 | Contributor(s): Tom D Pering
A very brief and simple Matlab function for normalising a dataset. I have often wondered why Matlab doesn't include this in the main package, so here is a simple code to achieve this.
-
Matlab Codes for Volcanology - Stokes Rise Calculations for Bubbles
09 Aug 2013 | Contributor(s): Tom D Pering
A series of Matlab codes for the determination of the rise speed of stokes bubbles at a single point (i.e. at a given depth and set radius) and over a range of depths. The aim of these files is to allow the calculation of rise speed given the overall bubble composition and the proportions or mass...