s='He was so tired'
ans = true
Longest Divisor Run
Increment a number, given its digits
letter yes yes & letter no no
Create a square matrix of multiples
multiply an array by its position number
Return the amount of palindromes (words) in the string.
Create cotangent function out of sine.
Find the Sum of the Series:
Calculate the centroid of a triangle
Find the product of the positive elements above the main diagonal.
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