Hi...how can i convert this part of mathematica code to matlab?
How about the other direction? Matlab to Mathematica?
The code you posted is not even valid Mathematica code. So will be even harder to convert it. But you can try 2 options. See the package ToMatlab , here is a link to how to use it and download it: http://mathematica.stackexchange.com/questions/63603/problem-in-downloading-tomatlab-package/63613#63613 and the second option for more up-to-date and more advanced features is to use http://matlink.org/