필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can I rotate a body inside mesh?

조회 수: 2 (최근 30일)
Ganesh kumar Badri narayan
Ganesh kumar Badri narayan 2018년 3월 30일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi all, I have the following case where I am interested to rotate a particular section(See attached image for detailed view) in a mesh either clockwise or anticlockwise direction. I want it to rotate in a cell by cell manner. Thank you all for your time.
Please view below code:
clear all
clc
X=linspace(0,1,200);
Y=linspace(0,1,200);
u=zeros(1,200,200);
u(:,95:100,70:150)=NaN;
surf(X,Y,squeeze(u));
grid off
view(90,90);
axis square

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by