Strvcat function - concatenation, MATLAB in Mathematics

strvcat function - concatenation:

The function strvcat will concatenate it vertically, that means that it will generate a column vector of the strings.

 

>> strvcat(first,last)

ans =

Bird

house

>> size(ans)

ans =

2  5

 

Note that the strvcat will pad with additional blanks automatically, in this situation to make both the strings having length of 5.

Posted Date: 10/20/2012 5:06:02 AM | Location : United States







Related Discussions:- Strvcat function - concatenation, Assignment Help, Ask Question on Strvcat function - concatenation, Get Answer, Expert's Help, Strvcat function - concatenation Discussions

Write discussion on Strvcat function - concatenation
Your posts are moderated
Related Questions
Example of Logical built-in functions: For equivalent to all the function, we should make sure that the entire elements in the vector are logically true. The one way of doing

Illustration of Variance For illustration, for the vector [4, 6, 1, 5], there are n = 4 values therefore n - 1 is 3. The mean of this data set is also 4. The variance will be

Give the formula for a rational function that has a hole at x=7 & vertical asmptote at x=-3/2

Recursive Functions: The Recursion occurs whenever something is defined in terms of itself. In the programming, a recursive function is a function which calls itself. The Recu

Strings as Vectors: The Strings are considered as vectors of characters-or in another words, a vector in which each and every element is a single character-so numerous vector

User-defined functions: Therefore, although many functions compute and return values, some do not. A few functions rather merely accomplish a task. Regardless of what type of

Find Minimum and Maximum for each row To find the maximum (or minimum) for each row, the dimension of 2 (that is how a MATLAB refers to rows) can be identified as the third arg

Illustration of Minimum and Maximum Value Both of these functions also return the index of the minimum or maximum value; when there is more than one occurrence, it returns the

how can reconstruct just part of an image using imreconstruct?

Standard Deviation The standard deviation is the square root of variance: The built-in function in a MATLAB for the standard deviation is known as std; the standard dev