MATLAB: Length of major axis of the patch

length of major axis

Dear sir,
How find the length of major axis of the patch? The image is attached.please help me sir

Best Answer

See this file exchange function: https://in.mathworks.com/matlabcentral/fileexchange/31126-2d-minimal-bounding-box. This function should give you want you want.