superposition of two vectors
2 次查看(过去 30 天)
显示 更早的评论
Hi Everybody,
I am trying to superpose two protein structures using Kabsch and absor functions but in both cases I do not get correct transformed structures. I input the vectors 3by N as stated in the description but the output in both cases is a bunch of coordinates gathered around one coordinate. I mean all the numbers resemble each other at least in first 2 digits. It is like they are all sitting on top of each other. I can not use pdbsuperpose since my coordinates are not in pdb format so any idea please on how to do the superposition of the rigid body translation and rotation?
here are my data 5 x 3 data set :
A = 0.0669166284993940 0.0302935157371087 0.185882093887639 0.0240147296251836 0.00925539980246008 0.0925160692954149 -0.0317431774275438 -0.0147916036102607 -0.00436453950606019 -0.0337673308633457 0.00697062096721668 -0.0660928572116686 -0.0893274016664437 -0.0244575537488091 -0.166298369404389
I am trying to superpose these numbers on to B which is :
B= -4.30300000000000 22.4930000000000 11.0710000000000 -1.09900000000000 20.5260000000000 10.5110000000000 1.65600000000000 18.9540000000000 12.4680000000000 5.21800000000000 19.4570000000000 11.4000000000000 8.04100000000000 17.1650000000000 12.4880000000000
by using absor (A' , B'). Thank you again.
1 个评论
回答(1 个)
Matt J
2013-5-6
编辑:Matt J
2013-5-6
so any idea please on how to do the superposition of the rigid body translation and rotation?
If the 2 data sets differ only by a rotation/translation, then the separation between corresponding pairs of points should be the same. We can easily see from the example below, however, that this is not the case. Conclusion - you have bad data or a bad model for the data or the data points are not ordered the same in both A and B.
>> norm(A(1,:)-A(2,:))
ans =
0.1487
>> norm(B(1,:)-B(2,:))
ans =
29.3488
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!