Your description says the inputs will be vectors, but your test suite includes matrices.
Apologies for the incorrect terminology. The description has been updated.
The requirement that redundant elements should be recorded only once should be part of the statement of the problem. Otherwise, Test 6 fails.
Test suit is giving error even though logic is working
Test suite is not properly managed. I am getting the correct result for the Solution 1607662
Hello, there is a problem with test suits 3, 5 and 6.
Please correct them.
Never mind, my result was not a row vector.
When I run this solution in my local workspace, I pass... More investigation to be done.
Make a Palindrome Number
Renaming a field in a structure array
Rotate a Matrix
07 - Common functions and indexing 3
Concatenate two strings
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
I'm going to enjoy watching you calculate, Mr Anderson
Golomb's self-describing sequence (based on Euler 341)
Pseudo Square Root (Inspired by Project Euler 266)
Hackathon - String version
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