How to move set of points diagonally ?

2 views (last 30 days)
yogesh jain
yogesh jain on 26 Dec 2015
Answered: dpb on 26 Dec 2015
Hello all , I have a 3D matrix (of a particular dimension). we can move points in either x or y or z directions by adding some constants but how to move the points in diagonal direction (in planes , say x-y plane) ? thank you

Accepted Answer

dpb
dpb on 26 Dec 2015
Add the offset to both (or all 3) coordinates...
x(i+di;j+dj,k+dk)=x(i,j,k)

More Answers (0)

Categories

Find more on Operating on Diagonal 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!