Text this: Optimal control of the attitude maneuvering for Razaksat class satellite based on rigid and flexible model