> On Mar 23, 2015, at 10:10 AM, Abhinaba Roy <abhinabaro...@gmail.com> wrote: > > Hi, > > Can a Matlab code be converted to R code? > > I am finding it difficult to do so. > > Could you please help me out with it. > > Your help will be highly appreciated. > > Here comes the Matlab code
<snip of code> Hi, Not do the conversion automatically, certainly. I don't know that anyone will volunteer here to convert such a large volume of code, though I could be wrong of course. That being said, there are two R/Matlab references that you should leverage, if you have not already: http://www.math.umaine.edu/~hiebeler/comp/matlabR.pdf http://mathesaurus.sourceforge.net/octave-r.html That might make your job a bit easier. Regards, Marc Schwartz ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.