confusion in cat command
显示 更早的评论
I am reading matlab online documentation for fliplr command and there and i came across a command 'cat'
It is used for concatenation.
First argument of cat command specifes dimension along which concatenation. example if first argument is 1 ,matrices are concatenaated along coulmns and if first argumetn is 2, matrices will be concatenated along rows. But what if first argument is 3 as in this scenario
I am confused how it is acting as shown in current scenario in attached photo. What will be contents of A ? and what is the meaning of highligted lines?

采纳的回答
更多回答(1 个)
madhan ravi
2019-4-14
0 个投票
3 represents that the contents of A concatenated in 3rd dimension hence creating a 3D matrix.
2 个评论
And multi-dimensional arrays are NOT just limited to 3D arrays!
To learn more about multi-dimensional arrays read the MATLAB documentation:
madhan ravi
2019-4-14
Indeed, thank you Stephen.
类别
在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
