powered by
aplusfun calculates the positive semidefinite part of a matrix
aplusfun
aplusfun(Amat)
A symmetric matrix
Returns positive semidefinite part of Amat