How to concatenate vectors of 10x2 and 11x1 in size?

조회 수: 1 (최근 30일)
Johannes Sundqvist
Johannes Sundqvist 2020년 2월 5일
댓글: Steven Lord 2020년 2월 6일
Hi,
I'm currently working on a project, where the original data consists of a vector that is 10x2, and another vector that is 11x1 in size. I'm now wondering if there is a "realistic" way to concatenate these two vectors (for example, insert the data from one vector from one position, insert the data from the second vector from another position, then once it has to be used, define which position we want to work "from"? If that makes any sense?) - Or if the only way to get it to work without doing a huge work-around would be to hold them in two different variables?
I realise this might be a bit messy as far as the explanation goes, so feel free to let me know if anything needs further explanation!
Thanks in advance.
  댓글 수: 5
Johannes Sundqvist
Johannes Sundqvist 2020년 2월 6일
I've thought about the issue, looked at what you suggested and have been experimenting around a little bit (though not with much success), but I'm starting to realise a lot more than I initially thought will probably have to be changed ("down the line") if these vectors are concatenated, and as such I might put the whole thing on ice for right now. Either way, it's not like you haven't helped/made me learn new things, so thanks a bunch!
Steven Lord
Steven Lord 2020년 2월 6일
You're welcome.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by