Hello
I'm wondering if anyone can help me. I'm trying to re-index two matrixes. I have selected a sub-sample of data and I need them to be re-numbered to 1:N. There is a corresponding matrix which is an Mx3 matrix which makes up the triangles.
I need to re-number the first matrax and then apply that re-numbered matrix to the list of triangles. This cannot be done by simple indexing because the numbers in the original matrix are obviously changed so they do not correspond with values in the 2nd matrix.
I'm not sure if I've explained that well but here is an example of the matrices I currently have.
I would also like to point out that those are just a sample number, the nodes may not necessarily match up below but they do in my matrices.
Cheers 🙂
Nodes:3772394739483949414441454146414741484149Tri:3771 3772 36033604 3603 37723773 3604 37723771 3946 39473948 3771 39473771 3948 37723772 3948 39493772 3949 39503772 3950 37733947 3946 4143
Best Answer