Filter löschen
Filter löschen

How to show a 4D array?

3 Ansichten (letzte 30 Tage)
Victor Kang
Victor Kang am 13 Sep. 2017
Kommentiert: Stephen23 am 13 Sep. 2017
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 Kommentar
Stephen23
Stephen23 am 13 Sep. 2017
@Victor Kang: why not just create a video, just like what you showed in your question?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu 二维图和三维图 finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!