필터 지우기
필터 지우기

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.

조회 수: 58 (최근 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 CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by