Matlab system analysis and programming