Rank: 2273 based on 30 downloads (last 30 days) and 3 files submitted
photo

Luke Winslow

E-mail
Company/University
University of Wisconsin - Madison
Lat/Long
43.09833, -89.40528

Personal Profile:
Professional Interests:
High Throughput Computing, Global Limnology, Geography

 

Watch this Author's files

 

Files Posted by Luke View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Aug 2012 log4m - A powerful and simple logger for matlab A simple logger with log4j functionality but designed with the matlab-user in mind. Author: Luke Winslow logging 19 1
  • 5.0
5.0 | 1 rating
17 Apr 2012 Matrix Permanent using Ryser Algorithm Matrix permanent calculated using the fast Ryser Algorithm. Author: Luke Winslow permanent, matrix 8 0
04 Mar 2012 Screenshot findDepressions Finds the area coverage and depth of localized depressions on a surface. Author: Luke Winslow earth science, limnology 3 0
Comments and Ratings by Luke View all
Updated File Comments Rating
14 Nov 2012 Matrix Permanent Computation of matrix permanent Author: Changqing Xu

Hey, I wrote a matrix permanent function which is non-recursive and uses the ryser algorithm. It works much better on medium and larger sized matrices. It can be found here: http://www.mathworks.com/matlabcentral/fileexchange/36224-matrix-permanent-using-ryser-algorithm

04 Mar 2012 extrema.m, extrema2.m Search all extrema points of a time series or a surface with/without NaN's. Author: Carlos Adrian Vargas Aguilera

04 Mar 2012 extrema.m, extrema2.m Search all extrema points of a time series or a surface with/without NaN's. Author: Carlos Adrian Vargas Aguilera

01 Jul 2011 Fast points-in-polygon test Fast test to determine points located inside general polygon regions. Should be significantly faster Author: Darren Engwirda

Great and fast little tool. Much faster than matlab inpolygon. My only issue is that I wish it natively understood the typical "GIS" format for polygons which includes a NaN separated list of polygons (NaNs separate the major outline from the 'islands').

Of course you can just handle this with the edges field though, so for future reference, here's my simple create edges code for NaN separated GIS objects. 'shp' variable is n Nx2 matrix of latitudes and longitudes.

shpEnd = find(isnan(shp(:,1)));
shpEnd = vertcat(0,shpEnd);
edges = nan(length(shp(:,1))-length(shpEnd),2);
count = 1;
for j=1:length(shpEnd)-1
endCount = count+length((shpEnd(j)+1:shpEnd(j+1)-2));
edges(count:endCount,:) = [(shpEnd(j)+1:shpEnd(j+1)-2)' ...
(shpEnd(j)+2:shpEnd(j+1)-1)';shpEnd(j+1)-1 shpEnd(j)+1];
count = endCount+1;
end

Comments and Ratings on Luke's Files
Updated File Comment by Comments Rating
16 May 2013 log4m - A powerful and simple logger for matlab A simple logger with log4j functionality but designed with the matlab-user in mind. Author: Luke Winslow Christopher

Thanks!

This is a great tool!

Top Tags Applied by Luke
earth science, limnology, logging, matrix, permanent
Files Tagged by Luke View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Aug 2012 log4m - A powerful and simple logger for matlab A simple logger with log4j functionality but designed with the matlab-user in mind. Author: Luke Winslow logging 19 1
  • 5.0
5.0 | 1 rating
17 Apr 2012 Matrix Permanent using Ryser Algorithm Matrix permanent calculated using the fast Ryser Algorithm. Author: Luke Winslow permanent, matrix 8 0
04 Mar 2012 Screenshot findDepressions Finds the area coverage and depth of localized depressions on a surface. Author: Luke Winslow earth science, limnology 3 0

Contact us