How can I use the function 'trvec' to extract the translation vector from an SE3 object
Show older comments
I have my SE3 object representing a 4x4 matrix. I need to extract the translation vector to get the [X Y Z] coordinates i.e. the values that are present at position (1,4) (2,4) (3,4) of the matrix represented by the object.
On the matlab documentation there are the various functions that the object can use. I followed the syntax but it doesn't recognize those functions either. Especially the function 'trvec' should solve my problem, but it doesn't work.
3 Comments
Hiro Yoshino
on 24 Sep 2022
Do you have Navigation Toolbox installed?
Were it not for, MATLAB would not recognize any functions provided by the Navigation Toolbox.
Teodoro Lima
on 25 Sep 2022
Edited: Teodoro Lima
on 25 Sep 2022
Ronak Narkhede
on 14 Mar 2023
Hey, Do you know of any method to only extract the x coordinate.
Answers (0)
Categories
Find more on Coordinate Transformations 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!