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
First N Perfect Squares
Back to basics 12 - Input Arguments
Area of a triangle
MATLAB Basic: rounding IV
Test Problem; Create a 5x5 array containing all ones
Find out sum of prime number till given number
Add one raw in given matrix as shown in example
Crate a vector of logarithmically spaced
Element by element multiplication of two vectors
Find out value of polynomial at different value.
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