What is the . symbol in matlab, how to change it to python
<pre><code>Xnorm = (X-repmat(mu,m,1))./repmat(sigma,m,1);
</code></pre>

<p>what does the . here do? And if I want to change it to the python, what should I do? </p>

<p>It means element wise division
Matlab Example</p>

<p><a href="http://in.mathworks.com/help/fixedpoint/ref/rdivide.html;jsessionid=e4b080e387b57aaf3b1e526a26d9" rel="nofollow">http://in.mathworks.com/help/fixedpoint/ref/rdivide.html;jsessionid=e4b080e387b57aaf3b1e526a26d9</a></p>

<p>Divide elementwise Python Equivalent</p>

<p><a href="http://docs.scipy.org/doc/numpy/reference/generated/numpy.divide.html" rel="nofollow">http://docs.scipy.org/doc/numpy/reference/generated/numpy.divide.html</a></p>

python matlab