I'm a pretty new user and I'm playing around with some codes, actually without paying too much attention to the actual data I plugged in.....
May the error
Error using chol
Matrix must be positive definite.
depend "simply" from me being inaccurate with actual data ?