title: How to predict temperature for the 4th day, given temperatures for previous days, using a linear perceptron?
body: <p>I have four sets of data (3 for training, 1 for testing) that include the hour of the day and temperatures in this format:<br>
  <strong>Time</strong> | <strong>Temperature</strong><br>
  5, 60<br>
  6, 63<br>
  7,70<br>
  8,73<br>
  9,78<br>
  10,81.5<br>
  11,85.1<br>
  12,87<br>
  13,90<br>
  I need to train and test a perceptron and then predict what the temperatures will be on the next day at the same hours.<br>
  I am trying to use Matlab to do this and I know I am supposed to normalize the data and use time-series prediction. However I can't figure out how to start.<br>
  I don't understand what the inputs and outputs are, and what activations function to use to make the output linearly from -infinity to +infinity.  </p>