the test suit is wrong
hehe, for now there is only one solution which works correctly when there is a NaN or an Inf in the input.
I have added NaN and Inf to the test suites
"the test suit is wrong" statement is not true.
Back to basics 19 - character types
Given a 4x4 matrix, swap the two middle columns
How many jokers?
Swap two numbers
Reverse a matrix
Digit concentration in Champernowne's constant
Dealing with correlation results!
Number of Even Elements in Fibonacci Sequence
Divide elements by sum of elements
Recaman Sequence - III
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