filmov
tv
Combine two or more vectors in MATLAB | #shorts
![preview_player](https://i.ytimg.com/vi/FCiLORbiFP8/maxresdefault.jpg)
Показать описание
While working with Matlab, we sometimes combine two or more vectors for desired results. In this video, you will learn how can we combine two or more vectors in the Matlab programming language.
There are two types of vectors; row vectors and column vectors.
For combining vectors, all vectors should have same size or rows / columns should equal.
For combining row vectors: row = 1
vect1 = 1x 4
vect2 = 1x 3
combine = [vect1 vect2]
For combining column vectors: columns = 1
vect1 = 4 x 1
vect2 = 3 x 1
combine = [vect1; vect2]
If you have any questions related to the video, you can ask me in the comment below. I will try my best to answer all your questions.
Visit YouTube Channel for complete Lectures:
There are two types of vectors; row vectors and column vectors.
For combining vectors, all vectors should have same size or rows / columns should equal.
For combining row vectors: row = 1
vect1 = 1x 4
vect2 = 1x 3
combine = [vect1 vect2]
For combining column vectors: columns = 1
vect1 = 4 x 1
vect2 = 3 x 1
combine = [vect1; vect2]
If you have any questions related to the video, you can ask me in the comment below. I will try my best to answer all your questions.
Visit YouTube Channel for complete Lectures: