Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input
Ex. a = [1 2 3;
4 5 6;
7 8 9]
b = 90;
output = [3 6 9;
2 5 8;
1 4 7]
Select every other element of a vector
Find the numeric mean of the prime numbers in a matrix.
find the maximum element of the matrix
Cumulative product of a vector
Skip by a multiple
Find the outcast
Create a code for XNOR
Convert decimal to binary and then generate the minimum binary it can with jumbling
Recursion at variable input
Maximum sum from any 2 numbers with a variable number of inputs
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