Electrical Machines with MATLAB