Plotting a 3D matrix in matlab (4D data)
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rizwan Ali
am 17 Feb. 2016
Beantwortet: Walter Roberson
am 18 Feb. 2016
If I have a 9*9*9 matrix. Each of which index has a certain value e.g. A[4][3][2]=0.43. This makes it a 4D data. How can I plot this as a 4D data meaning a 3D data with colour for the 4th dimension. P.S. I am a newbie, so please give as elaborate ans as simple an answer as possible.
0 Kommentare
Akzeptierte Antwort
John BG
am 18 Feb. 2016
have a look at the following points:
1.- correction: where you say ' .. A[4][3][2]=0.43. This makes it a 4D data ..'
consider instead saying ' .. this makes it 3D matrix ..'
the reason being that your question takes off with the statement matrix size 9*9*9: this is a 3D cube.
A size 9 units 3D cube has volume 9*9*9.
A size 9 4D cube have 4D volume 9*9*9*9.
2.- the link
contains a 4D cube visualized in 3D. They sell visualizations of larger than 3D objects
3.- MATLAB CENTRAL has a very interesting example
4.- Another very popular MATLAB CENTRAL entry is Konsoulas 'Paradoxical Behavior of multidimensional data'
5.- If you are going to find lengths surfaces and volumes in larger than 3D, have a look to Mike Hosea integralN.m
If you find this answer of any help solving this question, please click on the thumbs-up vote link, thanks in advance
John
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots 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!