필터 지우기
필터 지우기

How to show a 4D array?

조회 수: 3 (최근 30일)
Victor Kang
Victor Kang 2017년 9월 13일
댓글: Stephen23 2017년 9월 13일
I build a diffusion model, using ode23 tools. And I got two arrays.
[x,y]=ode23(@myfun,t,y0);
Then,
for i=0:r-1
for j=0:r-1
for k=0:r-1
dif(i+1,j+1,k+1,:)=y(:,i*r*r+j*r+k+1);
end
end
end
How can I show the data like this?
If you want, you can download my data. I'm not familiar with English, if offend, beg for forgive. Thanks a lot for your kindness.
  댓글 수: 1
Stephen23
Stephen23 2017년 9월 13일
@Victor Kang: why not just create a video, just like what you showed in your question?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 二维图和三维图에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!