[R] Hi
stephen sefick
ssefick at gmail.com
Thu Mar 4 22:01:13 CET 2010
I would help, but I don't know matlab.
Stephen
On Thu, Mar 4, 2010 at 2:50 PM, hussain abu-saaq <hussainib1 at hotmail.com> wrote:
>
> How Can I write this this matlab code in R:
>
>
> options=optimset('TolFun',1e-9,'TolX',1e-9,'MaxIter',1e8,'MaxFunEvals',1e8);
> c=c/2;
> [alpha, delta, epsilon, nofcup] = ustrs(set_date,mat_date);
> y = fminsearch('pbond',.15,options,p,c,nofcup,delta/epsilon);
> y = 200*y;
>
>
>
> Note
> pbond is a function in Matlab I already wrote in R
>
>
> ustrs is a function in Matlab I already convert into r
>
>
> Thank you
>
> HI
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>
--
Stephen Sefick
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
-K. Mullis
More information about the R-help
mailing list