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
Print an imaginary number: To print an imaginary number, the function disp will show both parts automatically: >> disp(z1)    4.0000 + 2.0000i The function fprint

Plot types: Besides plot and bar, there are another plot types like stem plots, histograms, stem plots, area plots and pie charts, and also other functions which customize the

Minimum and Maximum Value The MATLAB has built-in functions for numerous statistics. For illustration, min and max to find the minimum or maximum value in a data set. >> x

Functions to create special matrices: The MATLAB also has various functions which create special matrices. For illustration, the zeros function generates a matrix of all zeros

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

Built-in functions for Complex numbers:   We know that in MATLAB both i and j are built-in functions which return √-1 (therefore, they can be thought of as built-in constants).

Plot Functions: Faraway, we have plotted to generate two-dimensional plots and bar to generate bar charts. We have seen how to clear the Figure Window by using clf, and how to

Structure Consisting of the Fields A MATLAB can also solve the sets of equations. In this illustration, the solutions for x, y, & z are returned as a structure consisting of th

Empty Vectors: An empty vector or in another words, a vector which stores no values, can be generated using the empty square brackets: >> evec = [] evec = [] >> lengt

how can reconstruct just part of an image using imreconstruct?