Rank: 3550 based on 35 downloads (last 30 days) and 1 file submitted
photo

Yavor Kamer

E-mail
Company/University
ETH Zurich

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Yavor
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Mar 2014 Screenshot Spatial mapping of Gutenberg-Richters b-value Implementation of the three different sampling methods (DEW, FixR, NearN) Author: Yavor Kamer bvalue, earthquake, gutenberg richter 35 0
Comments and Ratings by Yavor View all
Updated File Comments Rating
08 Jun 2012 Alpha shapes Alpha shape of 2D/3D point set. Author: Jonas Lundgren

04 Jun 2012 Consolidator Consolidates common elements in x (may be n-dimensional), aggregating corresponding y. Author: John D'Errico

Dear John,

Regarding my previous comment, I found out that for that specific test the function performs relatively better if i change line 204
iu = [true;any(diff(xhat),2)];
to
iu = [true;any(abs(diff(xhat))>1,2)];

I also have a hunch that the sortrows (based on the 1st dimension column) on line 199 could be improved to take into account all possible column order permutations. I tried to do it but got into some complications and gave up.

04 Jun 2012 Consolidator Consolidates common elements in x (may be n-dimensional), aggregating corresponding y. Author: John D'Errico

Dear John,
Your consolidator function proved to be really indispensable for my Delaunay triangulations. However when I tried to test it with a set of points perturbed around 5 centers within an uncertainty radius I couldn't retrieve the initial centers.

unc=0.2;
mat_i=[1 0 0; 1 2 0; 0 3 0; 1 1 0; 2 1 2];
mat_all=mat_i;
for i=1:100
mat_all=[mat_all; mat_i+(rand(size(mat_i))-0.5)*unc;];
end
mat_c = consolidator(mat_all,[],[],unc);

For one realization the last two rows of mat_c end up to be:
1.917 0.900 2.067
2.006 1.001 2.000
which is inconsistent with the tolerance (0.2). Is this an expected result or is there something wrong with my test?

Thank you

10 Oct 2011 Fast Inpolygon in MEX Fast inpolygon function implemented in MEX. So far one of the fastest. Author: Tolga Birdal

So now that you know that this code is not the fastest would you kindly consider editing your bold claims just for the sake of not being misleading?

Contact us