GeoLab Examples
Examples showing the possibilities of working with GeoLab are provided in the subfolder GeoLab\Examples of your GeoDict installation. Each example is contained in a separate subfolder.
To run a GeoLab example you need writing permissions for the example folder. If you do not have such access rights in the folder of your GeoLab installation, you need to create a copy of the example folder first. However, even if you have writing permissions in the folder, it is recommended to create a copy of the folder as well.
The output of EstimateSurfaceRoughness of MatDict is shown as example below.

Call the MATLAB script EstimateSurfaceRoughness.m in the example folder to run the example. This file contains a call to subfunctions.
The example EstimateSurfaceRoughness calculates the surface roughness in z-direction for two different structures and with two different implementations for the calculation. The first one is a slower implementation looping over x- and y-direction of the structure. The second implementation is a faster one, showing how MATLAB functionality is used to speed up computation. The example therefore creates four figures, showing for each structure that both calculations produce the same result.
The MATLAB Command Window output for the example, as well as the four figures are shown below.
