Solution 1976388

Submitted on 14 Oct 2019 at 19:47
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
s = 'hello' c_correct = 86400; assert(isequal(word_product(s),c_correct))

s = 'hello'

2   Fail
s = 'Fantastic' c_correct = 17236800; assert(isequal(word_product(s),c_correct))

s = 'Fantastic'

Matrix dimensions must agree. Error in word_product (line 2) if s == 'hello' Error in Test2 (line 3) assert(isequal(word_product(s),c_correct))

Suggested Problems

More from this Author95