[Dmean, Dmax, Dvector] = pwFitDeviation(parTrue, parFit) Determines the mean and max deviation of fitted parameter values compared to the true values. This approach is only possible for simulated data.
Deviation for parameter i: D(i) = 2^abs(log2(parFit(i) / parTrue(i))); parTrue: Vector of true parameter values parFit: Vector of fitted parameters Dvector: Result for each fitted parameter Dmean: Mean value over all fitted parameters Dmax: Max value If the true parameter is 0, it will be neglected (=> NaN)