Repeat The components of a matrix so that the size of the output matrix is double to input matrix and components are repeated next to it.
Let Input =
[1 2 3 4 5 6 7]
then Output =
[1 1 2 2 3 3 4 4 5 5 6 6 7 7]
Scoring for oriented dominoes
Dimensions of a rectangle
Replace every 3rd element in a vector with 4
What is Sum Of all elements of Matrix
Replace Nonzero Numbers with 1
Look Up Mapping
Sort the vector with the given index
LocateMembership | Membership of Matrix in another matrix
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office