Find out Non zero element of matrix
17 24 1 8 15
23 5 7 14 16
4 6 13 20 22
10 12 19 21 3
11 18 25 2 9
Answer must be 25 because there are 25 number which are non zero element
Duplicate each element of a vector.
find the maximum element of the matrix
Min of a Matrix
Determine the length of a string of characters
Check that number is whole number
Find Excess 3 code of given decimal number.
Create vector as shown in test cases
Generate vector according to sign of vector
Do operation as per given string
Transpose of matrix
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