[R] R function similar to gradient function in Matlab?
R. Michael Weylandt <michael.weylandt@gmail.com>
michael.weylandt at gmail.com
Fri Jun 22 01:07:32 CEST 2012
I don't have a Matlab license or enough experience with it to know what gradient does, but I know there's a Matlab-to-R "dictionary" out there that many folks find helpful. It might have what you need (or just be generally useful).
http://cran.r-project.org/doc/contrib/Hiebeler-matlabR.pdf
Not sure if that's the most up to date.
Michael
On Jun 21, 2012, at 5:00 PM, Ranjan Maitra <maitra at iastate.edu> wrote:
> Hi,
>
> I am trying to convert some Matlab code into R for running some
> experiments and I was wondering if there is some function in R which
> does the work of the gradient function in Matlab calculating the
> "gradient" of 1-, 2- and 3-d images. I only need the 3-d calculations
> for running these experiments.
>
> Many thanks and best wishes,
> Ranjan
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.
More information about the R-help
mailing list