The problem has been improved, including additional test cases.
I don't see the palindromes in the third example. What am I missing?
that's my mistake. i'm sorry. try again please.
Back to basics 9 - Indexed References
Find the elements of a matrix according to a defined property.
Fill a zeros matrix
create a circulant matrix
Calculate the eigenvalues of A.
Calculate the centroid of a triangle
Find the sum of the negative elements under the main diagonal.
Find Adjacency Matrix
Check if a string starts with another string
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