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
Find the sum of the elements in the "second" diagonal
"Low : High - Low : High - Turn around " -- Create a subindices vector
Approximation of Pi
Find the product of a Vector
Make roundn function
Find out value of sine given by degree.
Find the rank of a matrix
MATLAB Basic: rounding III
Append two matrix as shown below example
Compute LOG(1+X) in natural log
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