Concatenate along singleton dimension?
이전 댓글 표시
Hi,
Is there a single-step way to concatenate two vectors along the singleton dimension? For example, a 10x1 vector and a 1x25 vector. In some of my scripts the dimensions seem to be unpredictable for reasons I don't feel like digging into, and I have to use reshape every time I want to concatenate.
Thanks.
댓글 수: 2
David McVea
2016년 7월 14일
Stephen23
2016년 7월 14일
In your mind you might know what you want, but our crsytal balls are a little foggy today. Please give us some examples with both input and output vectors so that we can test our code with.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!