function [y] = funcion_pitch15(u1,u2) %u1: flag %u2: y pitch=-20; var=(-u1)*u2; if u2<-0.69 y(1)=0; else y(1)=pitch+12*(u2+0.69); end