Plotting a 3D matrix in matlab (4D data)
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
John BG
2016-2-18
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!