Check that number is whole number
Say x=15, then answer is 1.
x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_number
test suite is poor
function y = your_fcn_name(x)
if (~isinf(x) && fix(x)==x)
Make a checkerboard matrix
give nth decimal place of pi
Find the largest value in the 3D matrix
Determine Whether an array is empty
Element by element multiplication of two vectors
Find out total non zero element of matrix
Find out value of sine given by degree.
Rotate Matrix @180 degree
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