Cody

Problem 44245. Cell Operator *

Solution 3867483

Submitted on 26 Nov 2020
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   Fail
a = {2 3} * 2; assert(isequal(a,{2 3 2 3}))

The function mtimes is a built-in MATLAB function. Please use a different function name.

2   Fail
a = {[1 2] 3} * [2 3]; assert(isequal(a,{[1 2] 3 [1 2] 3 [1 2] 3; [1 2] 3 [1 2] 3 [1 2] 3}))

The function mtimes is a built-in MATLAB function. Please use a different function name.

Suggested Problems

More from this Author8

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!