Created
May 19, 2014 14:22
-
-
Save ashaindlin/75e71b2825bb112fdbf9 to your computer and use it in GitHub Desktop.
Run polyxpoly without Mapping Toolbox installed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Download intersections.m from http://www.mathworks.com/matlabcentral/fileexchange/11837-fast-and-robust-curve-intersections | |
% and put it in a folder on your MATLAB path. Put this function on your path too. | |
function [xi, yi] = polyxpoly(x1, y1, x2, y2) | |
[xi, yi] = intersections(x1, y1, x2, y2); | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment