I want to get the element of intersection of 'A' and 'B' vectors, and I want it to find in c matrix. For example. If A(1)=a(1,1) A(2)=a(1,2) ('A' vector will be 'a' matrix's 1st column) B(1)=b(1,2) B(2)=b(2,2)
I'm using the delaunayTriangulation function and I'm trying to get all of the neighboring vertices(which should be the row of DT.ConnectivityList) of a specific vertex. I know how to use find but I'm unclear on how to find out what row that element is...
Thank´s... What i need is something more complex, but i didn´t explain it... If i find 2 iqual elements like number 1, for example, what i need to do is connect the other elements in the same line. If i find 1 in to lines ([1 2] and [6 1]) what i need to do ...
Find the nonzero elements in a 3-by-3 matrix. Specify three outputs to return the row subscripts, column subscripts, and element values. Get X = [3 2 0; -5 0 7; 0 0 1] X = 3×3 3 2 0 -5 0 7 0 0 1 Get [row,col,v] = find(X) row = 5×1 1 2 1 2 3 co...
The first column is the identity of the element and the second and third column the coordinates of the element. Also, I have another matrix A(3x2) which contains the coordinates of 3 elements. What I want to do is to find these coordinates of A in which identity of B matrix ...
Find the nonzero elements in a 3-by-3 matrix. Specify three outputs to return the row subscripts, column subscripts, and element values. X = [3 2 0; -5 0 7; 0 0 1] 1. X =3×33 2 0 -5 0 7 0 0 1 1. 2. 3.
find similar element in a matrixI think i found where the problem was. If you check the first line, you are building a matrix of 10*4. however, I succeeded to solve the problem. Thanks. I will accept your code.As
Find the nonzero elements in a 3-by-3 matrix. Specify three outputs to return the row subscripts, column subscripts, and element values. Get X = [3 2 0; -5 0 7; 0 0 1] X = 3×3 3 2 0 -5 0 7 0 0 1 Get [row,col,v] = find(X) row = 5×1 1 2 1 2 3 co...
ID of the corner node of the element, specified as a positive integer or a vector of positive integers. ThefindElementsfunction can find an ID of the element by the ID of the corner node of the element. The function ignores IDs of the nodes located in the middle of element edges. For...
Find the nonzero elements in a 3-by-3 matrix. Specify three outputs to return the row subscripts, column subscripts, and element values. Get X = [3 2 0; -5 0 7; 0 0 1] X = 3×3 3 2 0 -5 0 7 0 0 1 Get [row,col,v] = find(X) row = 5×1 1 2 1 2 3 co...