clear all close all clc % Subroutine to choose the process: forward analysis (process=0), inversion of the GPS deformation data (process=1) process=1; if process==0 mainForward; elseif process==1 mainInversion; end