Use an adaptive control method called model reference adaptive control (MRAC). This controller can adapt in real time to variations and uncertainty in the system that is being controlled. See how model reference adaptive control cancels out the unmodelled dynamics so that a nominal plant model matches with a reference model. A MATLABĀ® example shows where this adaptive control method is used to control the unknown and undesired rolling oscillations, which can occur in a delta-wing aircraft.