MATLAB-code for winding pattern, hall sensor postions and different wire gauge selection for tuning the motor at differnt torque and speed. motorCodeV1.m is the main file