how to find integers coordinate in a 4 coordinate block

2 views (last 30 days)
hi
im new in the matlab world and i have a problem
i have 4 Matrices in UV axis :
uv1=[umin; vmin; ones(size(P1U))];% (umin,vmin)
uv2=[umax; vmax; ones(size(P2U))];% (umax,vmax)
uv3=[umin; vmax; ones(size(P3U))];% (umin,vmax)
uv4=[umax; vmin; ones(size(P4U))];% (umax,vmin)
Each column in each matrix contains a coordinate(integers) ..all four matrices containing in each column coordinates that build a block i need to find all the integer coordinates in Each block and arrange them in two matrices one for U and one for V, Each column in U corresponds to the column in V
i added a link for picture:
U=
1 5 8
2 6 0
3 7 0
4 0 0
V=
2 5 7
3 6 0
4 7 0
8 0 0
thanks

Answers (0)

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!