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
Symbolic Expression The solve function solves an equation and returns the solution(s) as symbolic expressions. The answer can be converted to numbers by using any numeric funct

Built in recursive function in MATLAB: We have seen that the built-in function in MATLAB to compute factorials, termed as the factorial and we know how to implement the iterat

5 p2+8p+15, 3 p2-3p-18, 12 p2-p-30

Program of built-in factorial function: Calling this function yields similar result as the built-in factorial function: >> fact(5) ans =   120 >> factorial(

Three-Dimensional Plots: The MATLAB has many functions which will display three-dimensional plots. Most of these functions have similar name as corresponding two-dimensional p

bar and barh functions: For a matrix, the bar and barh functions will group altogether the values in each and every row. The illustration is as shown: rm = randint(2,4,[1

If I have a vector representing the packed storage form of a symmetric matrix, how do I perform a cholesky factorisation on that?

sprintf function: The sprintf function works precisely like the fprintf function, but rather than printing it generates a string. Here are some illustrations in which the outp

Writing variables to a File: The save command is used to write variables to a file, or to append the variables to a MAT-file. By the default, save function writes to a MAT-fil

Illustration of Advanced file input and output: For illustration, to refer to the third number in the first element of the cell array: >> subjdata{1}(3) ans =