Octave/Matlab: Difference between e^(-1*z) and exp(-1*z) : <p>I am new with Octave and I have a problem.I thought the following codes were the same, but they produces different results. What is the difference? Thanks</p>

<p>Octave/Matlab: Difference between e^(-1*z) and exp(-1*z)</p>

<p>g = 1./(1 + e^(-1*z));</p>

<p>g = 1./(1 + exp(-1*z));</p>

<p>Where z is a vector, element or matrix</p>
