title: Numpy Value Error: operands could not be broadcast together with shapes (1,99) (100,)
body: <p>I am attemping to define y equal to (x × 0.15) + N where N is a 100 element 1D array of random values chosen from a Gaussian distribution with mean 0.0 and standard deviation 0.5 but I keep getting the error code : <strong>ValueError: operands could not be broadcast together with shapes (1,99) (100,)</strong> . Any tips on how I can revise my code to make it work would be much appreciated, thanks.</p>
  <pre><code>N = np.random.normal (0, 0.5,size=(100))
  y = (np.dot([x],0.15)) + N
  
  </code></pre>