How to get one vector from several matrices?

Hi; I have matrix and vector and I want to put them in one vector;
For example
A=[1,2;3,4]; B=[5,6];C=[7;8];
I want them in one vector
S=[1,2,3,4,5,6,7,8] Thanks in advance

 채택된 답변

Stephen23
Stephen23 2016년 1월 1일
편집: Stephen23 2016년 1월 1일

0 개 추천

S = [reshape(A.',[],1);B(:);C(:)].';

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Aerospace Blockset에 대해 자세히 알아보기

태그

질문:

2016년 1월 1일

편집:

2016년 1월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by