This appears to be duplicating an error in the original Problem: according to the problem specification, having an input of  should yield a result of "false", as there is no OTHER element to compare the 1 to! You can easily fix this inconsistency by either --- changing your problem specification (mention that you can compare to all vector elements, not just the 'other' elements) or --- by changing the correct result to "false" in your Test Suite.
Please check comments made about the original Problem to avoid duplicating errors or inconsistencies.
Fix the last element of a cell array
06 - Matrix Equations 1
07 - Common functions and indexing 2
Sum of series VI
Write a code that will follow the equation y = x * (x + x) * x.
NaN (欠損値) が含まれている行を削除しよう
Find the treasures in MATLAB Central and discover how the community can help you!
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