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]
Back and Forth Rows
Number of 1s in the Binary Representation of a Number
Given area find sides
Product of elements in row
Find the product of a Vector
Angle difference between Hour Hand and Minute Hand of clock
Replace Nonzero Numbers with 1
What is Sum Of all elements of Matrix
Look Up Mapping
Sort the vector with the given index
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