% get CovM of homogeneous vector x.h Chh = sugr_get_CovM_homogeneous_Vector(x); * x = struct, homogeneous object, minimal representation {x.h,x.Crr} * Chh = full cov. matrix of homogeneous element x.h
0001 %% get CovM of homogeneous vector x.h 0002 % 0003 % Chh = sugr_get_CovM_homogeneous_Vector(x); 0004 % 0005 % * x = struct, homogeneous object, minimal representation {x.h,x.Crr} 0006 % 0007 % * Chh = full cov. matrix of homogeneous element x.h 0008 0009 % see PCV (10.28) 0010 % 0011 % Wolfgang Förstner 2016-09-02 0012 % wfoerstn@uni-bonn.de 0013 0014 function Chh = sugr_get_CovM_homogeneous_Vector(x) 0015 0016 J = null(x.h'); % d x (d-1) 0017 0018 Chh = J * x.Crr * J'; 0019