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]
Find the numeric mean of the prime numbers in a matrix.
Find the largest value in the 3D matrix
select the primes of a vector
Beginner's Problem - Squaring
Sum of integers numbers
Circular Shift Me
Rotate matrix by -90 degrees
Implement zero-based indexing for Matrices
Convert degrees to radians
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