title: How to desig MLP neural network in Matlab?
body: <p>Hi I've design the XOR with a three layered Neural Network. Now I have a new problem similar to xor but still I can't figure out how to solve it .</p>
  
  <p>Here's the problem : </p>
  
  <p><img src="https://i.stack.imgur.com/8ijtT.png" alt="enter image description here"></p>
  
  <p>I want to distinguish the red area from blue area.As you can I have an area of -1 to 1 vertically and -1 to 1 horizontally.</p>
  
  <p>can any body give me a clue? or some sort of sample code or network configuration in matlab?</p>