Convert form XYZ coordinate to YBC format (LRA)

Convert form XYZ coordinate to YBC format (LRA).
2.3K Downloads
Updated 26 Oct 2004

View License

XYZ2YBC convert form XYZ coordinate to YBC format (LRA)
XYZ2YBC(X,Y,Z) convert the X,Y,Z values to Y,B,C values. assuming the bend radius is zero. the size of X,Y and Z must be the same.

XYZ2YBC(X,Y,Z,R) where R is the bend radius. convert the X,Y,Z values to
Y,B,C values, taking in to account the bend radius R.

XYZ2YBC(X,Y,Z,R) where R is the bend radius matrix for each bend. convert the X,Y,Z values to Y,B,C values, taking in to account the bend radius R for each bend. size of R must be less than the number of XYZ points by 2.

returns Y length between bends, B rotation between bends in radius,+ for clockwise and - for anticlockwise, C angle of bend in radius.

Cite As

Ammar Mousali (2024). Convert form XYZ coordinate to YBC format (LRA) (https://www.mathworks.com/matlabcentral/fileexchange/6100-convert-form-xyz-coordinate-to-ybc-format-lra), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R11
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on External Language Interfaces in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0