Animation of a volume

조회 수: 2 (최근 30일)
Sebastian Daneli
Sebastian Daneli 2025년 2월 26일
댓글: Sebastian Daneli 2025년 2월 28일
I have a volume (1040x1392x41 double) and I would like to create an animation that visualizes this volume. A simple one would be one visualizes the volume in the z-direction (going from 1 to 41) and back up again, without the need for user interference.

답변 (1개)

Walter Roberson
Walter Roberson 2025년 2월 26일
videofig(size(YourData,3), @(frame)redraw(YourData, frame));
function redraw(YourData, frame)
imshow(YourData(:,:,frame))
end
  댓글 수: 1
Sebastian Daneli
Sebastian Daneli 2025년 2월 28일
@Walter Roberson, does not work at all. Just shows me whatever frame I'm intressted to look at.

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

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by