How a 4D and 5D matrix or array look like? Can we say that a 4D array is another for of 3d or reshaping the 3d matrix in a bigger 3d matrix. Please reply soon.

81 ビュー (過去 30 日間)
PLease help me to understand Multidimensional arrays and matrix. It is being difficult to visualize 4d/5d arrays/matrix.

採用された回答

jaykrushna Patel
jaykrushna Patel 2017 年 9 月 30 日
There are many examples where we process the multidimensional arrays to store the and manage data in real life. and we process them on a daily basis unknowingly.
Example of Book Shelf of dictionaries in will give you much easier and simple understanding of 5D matrix.
consider one word as an element, stored in any matrix. So, a line in a dictionary can be compared with Vector(word stored in a row), and one page of a dictionary with a 2D matrix. So that makes a dictionary a 3D matrix( a set of the 2D matrix). Now assume you have one bookshelf of 5 rows full with different dictionaries. So, a row of bookshelf will be a 4D matrix. and bookshelf itself will be the example of the 5D matrix. now this example can be extended to 6D matrix A library with one Row of Bookshelves.
Now if you want to find the meaning of a word in a library, First you have to find on which bookshelf dictionary is(6th index). on which row of bookshelf dictionary is.(5th index), then if the dictionary is the 9th book in that row it will be your 4th index. Page number of the word will be the 3rd index, No. of the line will be 2nd index and no of the word in that line will be your 1st index. So you can locate a single word with only 6 values.
this example can be extended by dividing the library into multiple sections(7D) than multiple floors(8D), interconnected libraries(9D) and so on.
  5 件のコメント

サインインしてコメントする。

その他の回答 (1 件)

James Tursa
James Tursa 2015 年 10 月 23 日
You could say:
A vector is an array of scalars.
A 2D matrix is an array of vectors.
A 3D array is an array of 2D matrices.
A 4D array is an array of 3D arrays.
A 5D array is an array of 4D arrays.
Etc.
Without knowing the motivation for your question, it is hard to be more specific in answering.

カテゴリ

Help Center および File ExchangeCell Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by