Correction matlab example