Calculate radial displacement from X,Y,Z displacements of a cylinder node
조회 수: 8 (최근 30일)
이전 댓글 표시
Hello,
How do I calculate the radial displacement of a node on a cylinder from it's XYZ displacement. Center coordinate system sometimes is at center of the cylinder sometimes it's not. because I have more than one cylinder. I tried trignometry and the values does not make any sense. Below is the code I used. M\aybe what I need to calculate is the distance shown using the yellow line.
I have attached a sketch for reference. What am I missing here?

r=sqrt(bsxfun(@plus, bsxfun(@plus,x.^2,y.^2),z.^2 ));
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Assembly에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

