https://in.mathworks.com/help/nav/ref/plottransforms.html
plotTransforms - Plot 3-D transforms from translations and rotations - MATLAB
This MATLAB function draws transform frames in a 3-D figure window using the specified translations translations, and rotations, rotations.
plottransformstranslationsrotationsmatlab