How to re-arrange data based on XY co-ordinates
2 views (last 30 days)
Show older comments
Answered: Richard Rees on 11 Jul 2019
Good afternoon everyone,
I have a tedious problem at the moment whereby I am having to manually re-arrange nodes and the corrosponding data based on its XY co-ordinates on its XY positional hierarcy as unfortunately the nodal numbers (and associated data) to do not corrospond in a logical manner. I have tried doing this in excel and matlab but it is unable to sort the two sequentally based on the above.
Attached is a picture of the mesh and associated test data
If you note that after node 40 the normal sequencing of numbers changes resulting in my manual intervention, whereby XY(4,0) should 41 but is 42, 42 should be in pos. 41 and so on.
Can anyone help please?
KSSV on 11 Jul 2019
The mesh seems good..the node number looks perfect...why you think there is a a problem?
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!