Define Function By Cases Matlab, The model has two inputs and two outputs.