List all files with extension 'ext' in the current directory.
Return a char matrix with the name of files in rows.
Return 0 if no files.
The problem can't run because the Test Suite issues mkdir; cd test.
The call to filerep.m is no longer on the path. Suggest eliminate mkdir and cd lines.
The mkdir test; and cd test issue makes it impossible to make any submissions.
Sorry. It's OK now.
My answer 15 is Donkey. Did just to show test Suite could be gamed. Also did not know how to get dir *.ext, which was frustrating me as I left out the ()s. Suggest add a fn=['saveme.mat' num2str(randi(9,1,1))] and then do your save fn with ext=fn(8:11). Then rescore solution 15. This will cut out the cheats. Good problem update of addpath. The Test Suites are more complex than the solutions sometimes.
Find state names that end with the letter A
Is my wife right? Now with even more wrong husband
How long do each of the stages of the rocket take to burn?
Given a 4x4 matrix, swap the two middle columns
Area of an equilateral triangle
Chess ELO rating system
Recycled Numbers (CodeJam Qualification Round 2012)
Rank of magic square (for beginners)
BLOCK x3 (Version 1)
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