Compute electrical position of rotor from mechanical position
Motor Control Blockset / Sensor Decoders
The Mechanical to Electrical Position block computes the electrical position of rotor by using its mechanical position and mechanical offset value.