Clear Filters
Clear Filters

How to join pages to make a 3D matrix?

2 views (last 30 days)
Mr M.
Mr M. on 5 Apr 2018
Answered: KL on 5 Apr 2018
We can join columns with , ([x,y]) We can join rows with ; ([x;y]) But how to join pages? for example M(:,:,2) and M(:,:,1)

Answers (1)

KL on 5 Apr 2018
Use cat,


Find more on Creating and Concatenating Matrices in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!