Hi everyone, I have a question, what does p by m by n matrix means,,,,as far as i know, m and n represents the order of matrix, number of rows and columns...what is the third one?

6 ビュー (過去 30 日間)
Hi everyone, I have a question, what does p by m by n matrix means,,,,as far as i know, m and n represents the order of matrix, number of rows and columns...what is the third one?

採用された回答

Walter Roberson
Walter Roberson 2018 年 10 月 1 日
The first coordinate is always the number of rows, no matter what it is named.
The second coordinate is always the number of columns, no matter what it is named.
The third coordinate is always the number of planes, no matter what it is named.
So a p by m by n matrix has p rows, m columns, and n planes.
For example, 480 x 640 x 3 has 480 rows, 640 columns, and 3 planes (and probably represents an RGB image)
  8 件のコメント
Walter Roberson
Walter Roberson 2018 年 10 月 1 日
2500 x 21 x 1 looks like it would be a valid size for frf.
Every 2D array is also a 3D array, 4D array, 5D array, and so on, so you do not need to somehow signal to MATLAB that your 2500 x 21 is "really" 3D.
For example look at the first example, https://www.mathworks.com/help/signal/ref/modalfit.html#bvkw6bh-4 . At the time of the modalfit, u is 1 x 3000, and u' is passed in the first parameter, so modalfit is being passed an frf which is 3000 x 1, also known as 3000 x 1 x 1.
Ayisha Nayyar
Ayisha Nayyar 2018 年 10 月 1 日
Really obliged Walter....

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by