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

1 次查看(过去 30 天)
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
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!

请先登录,再进行评论。

回答(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