Do rounding towards plus infinity.
Example: -8.8, answer -8
+8.1 answer 9
+8.50 answer 9
Longest run of consecutive numbers
Given a window, how many subsets of a vector sum positive
Return area of square
02 - Vector Variables 5
Is this triangle right-angled?
Cumulative product of a vector
Average speed for the entire trip
Find out magnitude of vector
Find out sum of all elements of given Matrix
Find out base of following arithmetic operation
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