Have you a registration already ? Sign In
Nonlinear Mechanical Shape Checking In ANSYS® Mechanical(Illustrated Expression)
In this content of Mechanical Base, we will show you how to combine two of row vectors into a one vector that assigned to a variable in Matlab. It is very basic process to do it in Matlab. You can have a situation that collecting datas from two or more separate vectors, and you need to do a calculations that you need to combine these datas into one vector elements. You can do this is Matlab coding easily like below.
Think about a situation that you collected datas in vector ‘a’ and vector ‘b’ seperately. And you need to combine these datas into one data. What you need to do is, type an another vector like ‘c’ as shown by green box above and type ‘a’ and ‘b’ into the ‘c’ as vector elements. As you can see from the result, the ‘a’ and ‘b’ vectors are combined in respective manner in ‘c’ as shown by red arrow above in Matlab.
So it is very basic to combine row vectors into a one vector in Matlab.
Leave your comments and questions below!
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
Write Comments