title: How to set newff (neural network toolbox function) in MATLAB?
body: <p>I got error after I run my simple code. Thanks</p>
  
  <p>Here is my code</p>
  
  <pre><code>input_training_data = HandWritingData(random_list,:)'; %size = [256X788]
  target_training_data = Category(random_list,:)'; %size = [10x788]
  net = newff(minmax(input_training_data), [15 10], {'logsig','logsig'} , 'hardlim' ); 
  
  
  
  Error in ==&gt; Neural_Network_code at 19 
  net = newff(minmax(input_training_data), [15 10],
  {'logsig','logsig'} , 'hardlim' ); %create a network 
  </code></pre>