Given an array of positive, non-zero, integers, return a cell array of strings the same size as the input, where each element in the output contains:
Example:
>> out = fizzbuzz(1) out = '1'
>> out = fizzbuzz(1:5) out = '1' '2' 'fizz' '4' 'buzz'
>> out = fizzbuzz([3 5 15]) out = 'fizz' 'buzz' 'fizzbuzz'
I would suggest trying not to give away a solution within the test suite.
wouldn't be better to remove TestSuite's case6:the empty matrix? it make arrayfun more suitable.
Replace NaNs with the number that appears to its left in the row.
1710 Solvers
Back to basics 12 - Input Arguments
467 Solvers
138 Solvers
Calculate the derivative of a polynomial
139 Solvers
165 Solvers