How to move set of points diagonally ?

2 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by