Given this input
x = 2, 5, 1, 2, 4, 1, 1, 3
output should be (Five 2's, Two 1's, One 4, Three 1's)
[2 2 2 2 2 1 1 4 1 1 1]
Select every other element of a vector
Find the position of first minimum value in an integer array with numbers
Area of an equilateral triangle
Create an anti-identity matrix
Beat the test suite if you can :)
Create cosine function out of sine
Create tangent function out of cosine only
Freebies anyone? No!!!!
Create Truth Table of Size according to input
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