title: Plot of function in Matlab
body: <p>I need to plot this function in Matlab:
  <img src="https://i.stack.imgur.com/MIXjS.jpg" alt=""></p>
  
  <p>Lines must be connected, I mean at end of decreasing line, increasing one must start etc. It looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/NOMuP.jpg" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/d8n1l.jpg" alt="enter image description here"></p>
  
  <p>Any idea? I need it on some wide interval, for example t goes from zero to 10</p>