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 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeOperating on Diagonal Matrices についてさらに検索

タグ

質問済み:

2015 年 12 月 26 日

回答済み:

dpb
2015 年 12 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by