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
KL on 5 Apr 2018
Use cat,
cat(3,X,Y)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!