If you have two small strings, like 'a' and 'b', return them put together like 'ab'.
'a' and 'b' => 'ab'
For extra credit, combine any number of strings.
Needs a better test suite, although the problem is so simple it almost doesn't matter.
There is a typo in the second Test Suite answer.
A small but useful improvment would be to do NOT give the answer when starting the problem. Clicking submit is not a problem.
Props to everyone who solved it with a size not equal to 14 for displaying originality despite the best efforts of whoever posted this problem.
this problem confused me which l thought to be hard
Why not make it insist that you take an arbitrary number of parameters. There's no 'extra credit' in this problem.
2nd half of the format string is not needed.
Given a 4x4 matrix, swap the two middle columns
Given area find sides
Try 1.5.4: Celsius to Fahrenheit
07 - Common functions and indexing 3
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
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