Rotate Matrix @180 degree
A=[8 1 6; 3 5 7; 4 9 2], then answer would be
[2 9 4;
7 5 3;
6 1 8]
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Insert zeros into vector
Replace multiples of 5 with NaN
Find the product of a Vector
Find out sum of all elements of given Matrix
Find out value of polynomial at different value.
Find the rank of a matrix
Element by element multiplication of two vectors
Append two matrix as shown below example
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