필터 지우기
필터 지우기

separate mesh figures in for loop of matrix

조회 수: 1 (최근 30일)
mehmet salihi
mehmet salihi 2021년 5월 16일
편집: Walter Roberson 2021년 5월 16일
hello every one
i have for loop which is i=3 and i am obtaing three matrix separately, i try to show the mesh for each matrix separately, how can i do that please help.
please also how can i learn more properity edit for mesh
for c_value=1:3
%%%matrix is u
mesh(u) % i get all 3 matrix of u in same figure
xlabel('x', 'Rotation',20)
ylabel('t', 'Rotation',-30)
zlabel('u')
end
  댓글 수: 3
mehmet salihi
mehmet salihi 2021년 5월 16일
that does not make a sense, in this way i need to write code rows for each mesh,
i need mesh figure for each matrix, not all mesh in one figure
Walter Roberson
Walter Roberson 2021년 5월 16일
for c_value=1:3
figure()
%%%matrix is u
mesh(u) % i get all 3 matrix of u in same figure
xlabel('x', 'Rotation',20)
ylabel('t', 'Rotation',-30)
zlabel('u')
end

댓글을 달려면 로그인하십시오.

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021년 5월 16일
for c_value=1:3
%%%matrix is u
mesh(u) % i get all 3 matrix of u in same figure
xlabel('x', 'Rotation',20)
ylabel('t', 'Rotation',-30)
zlabel('u'), hold all
end
  댓글 수: 4
mehmet salihi
mehmet salihi 2021년 5월 16일
actually i have another figure plot, i used figure() that solved my issue
mehmet salihi
mehmet salihi 2021년 5월 16일
편집: Walter Roberson 2021년 5월 16일

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Signal Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by