That code works fine pasted into the command line, provided that myCA is not already defined as something with a different shape.
You might also want to consider using cat(3, ....)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!