A Matlab-based System for Non-Intrusive Load Monitoring