Matlab assignment problem examples