Documentos de Académico
Documentos de Profesional
Documentos de Cultura
if opcion==1 %union
yresultado=max(yA,yB);
end
if opcion==2 %interseccin
yresultado=min(yA,yB);
end
if opcion==3 %complemento de A
yresultado=1-yA;
end
if opcion==4 %Diferencia A-B
yresultado=min(yA,1-yB);
end
subplot(2,2,1); plot(x,yA,'b.')
subplot(2,2,2); plot(x,yB,'r.')
subplot(2,2,3:4); plot(x,yresultado,'g.')
grid on