How to move set of points diagonally ?
    조회 수: 3 (최근 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
댓글 수: 0
채택된 답변
  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
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!