|
|
Re: Generate random numbers with fixed sum and different constraints
Posted:
Nov 19, 2012 7:29 AM
|
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <k8d77s$lfd$1@newscl01ah.mathworks.com>... > "Dmitrey Yershov" <pierrevanstulov@mail.ru> wrote in message > > Error in delaunayn (line 101) > > t = qhullmx(x', 'd ', opt); > > > > Error in Untitled (line 32) > > T = delaunayn(V); > > > > I will be obliged to you if you can fixe it. > > Please try to replace the delaunayn() command with: > > if m==3 > T = delaunay(V); > else > T = delaunayn(V); > end > > Obviously it doesn' work for 2-dimensional triangulation. > > Bruno
Thank you very VERY much, Bruno! Your procedure works fast enough to solve my problem and gives proper results (at least by sight for 3 dimensions)!
P.S.: Special thanks to Roger Stafford and Matt J for basis procedures.
|
|