photo

Sean


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to find cell IDs attached to points
If I have a set of inputs for the Voronoi function, and use the convex hull function to obtain a connectivity list for each Voro...

10 years ago | 1 answer | 0

1

answer

Question


Intersection of two sets keeping all intersected values
Say I have two sets a, and b such that: a=[1 2 3 4 5 6 6 6 7 8 9 10] b=[1 12 113 1 25 3 6 6 ] intersect(a,b)= ...

10 years ago | 2 answers | 0

2

answers

Question


Intersection of circle chords
The following code contains 3 circles, the lines from each pair of circle's intersections (with circcirc fxn), the slope/y-inter...

10 years ago | 1 answer | 0

1

answer

Question


Removing matrix rows after the first element of a row becomes too big
I want to remove all of the rows in A after the element of the first column of the nth row passes, say 10. Let A be A = [ ...

10 years ago | 1 answer | 0

1

answer

Question


How to find the (x,y) coordinate of an intersection value
For the intersection value aijk, how do I find the (x,y) coordinate in PCi, PCj, and PCk (circle powers for i, j, and k respecti...

10 years ago | 1 answer | 0

1

answer

Question


How to generate points to create evenly distributed equilateral triangles for the delaunayTriangulation function
This code generates the points for equilateral triangles in question for a design space 735*779~, but is inefficient, and kind o...

10 years ago | 1 answer | 0

1

answer

Question


How to store indexed values from a for loop
C is a cell array with coordinate locations in "new_pts" that create polygons. I would like to collect each v for all j in an a...

10 years ago | 1 answer | 0

1

answer

Question


Removing data points that are out of a specific boundary
If I have a matrix of xy coordinates A where A is something like A= [1 2 3 4 3 0 10 1 3...

10 years ago | 1 answer | 0

1

answer

Question


Identifying elements of an array in clockwise order
If I have an array A such that it contains vertex coordinates of polygons where A=[ 1 1; 2 0; 4 0; 10 ...

10 years ago | 0 answers | 0

0

answers

Question


How to fix "Subscripted assignment dimension mismatch" in For loop with min/sort functions, (or other)
In the following code F(:,i) is being assigned different column sizes for each iteration i. The Dmin sort was my attempt at tak...

10 years ago | 1 answer | 0

1

answer

Question


How to remove all rows with the same (specific) elements
If I have a, say 20x2 matrix, and I want to remove all rows with the entry 0 (column 1), 0 (column 2), how might I do that (and ...

10 years ago | 1 answer | 0

1

answer

Question


Finding an element of a cell in a cell array
If I have a cell array: C= [ [1 2 3], [2 2 3], [5 2 7 10 2 1], [12 10 22 0] ,[4 7 5] ] I want to locate all of the 1's (...

10 years ago | 1 answer | 0

1

answer

Question


Intersection of 3 circles with chords present, and arcs removed
<</matlabcentral/answers/uploaded_files/14897/3%20intersecting%20circles%20with%20arcs.gif>> <</matlabcentral/answers/uploa...

10 years ago | 1 answer | 0

1

answer

Question


Intersection of voronoi edges and a rectangle
This code generates a Voronoi plot with n random points, and a rectangle containing each closed Voronoi cell. How can I find th...

10 years ago | 1 answer | 0

1

answer

Question


Removing non unique elements from an array after n entries
If I have an array: [1 2 3 4 5 6 8 1 2 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 .... 5] ^ ...

10 years ago | 1 answer | 0

1

answer

Question


How to close voronoi shapes?
clc clear all n= 10; x=10*rand(1,n); y=10*rand(1,n); [vx,vy] =voronoi(x,y); [v,c] = voronoin([x(:) y(:)]...

10 years ago | 0 answers | 0

0

answers

Question


How to break up voronoi cell into triangles (points from center, and two cell vertices)?
clc clear all close all n=6; x=10*rand(n,1); y=10*rand(n,1); X = [x y]; [V,C] = voronoin(X); for i...

10 years ago | 1 answer | 0

1

answer

Question


How to find the area of voronoi shapes
clc clear all close all n= 60; x=720*rand(1,n); y=360*rand(1,n); voronoi(x,y) [vx,vy] =voronoi(...

10 years ago | 1 answer | 0

1

answer

Question


How to take the product of distinct array values?
clc; clear all; close all; Bx = 720; By = 360; ...

10 years ago | 1 answer | 0

1

answer

Question


How to tell whether or not 5 or more lines intersect
<</matlabcentral/answers/uploaded_files/14552/lines-intersection.png>> To the left is 4 intersections, and I am trying to con...

10 years ago | 1 answer | 0

1

answer

Question


Voronoi Diagram with Delaunay Triangulation circle overlay with restrctions
Is there a way to place restrictions on how Voronoi Diagrams, or Delaunay Triangulation operates as a Matlab function? For the ...

10 years ago | 0 answers | 1

0

answers

Question


For Intersecting Circles, how to remove overlapping arcs for 3 or more circles?
In the attached image if you project the red lined plane to z=0 (2D) is there a way to plot the circles with chords shown, and a...

10 years ago | 1 answer | 0

1

answer

Question


Voronoi Diagram with Delaunay Triangulation overlay
If I have some Voronoi Diagram: clc clear all close all n=5 x=10*rand(1,n) y=10*rand(1,n) voronoi(x,y) [vx v...

10 years ago | 1 answer | 0

1

answer

Question


For intersecting circles, how to remove overlap and have chord visible? Also, how to randomly generate circle position in design space?
As in the image, I am trying to remove the circle overlap from the intersection, and have the chord itself (not present in the i...

10 years ago | 3 answers | 0

3

answers