Cody

Problem 44245. Cell Operator *

Created by LY Cao in Community

Please implement operator * for cell:

>> {2,3} * 2
ans =
1×4 cell array
  [2]    [3]    [2]    [3]
>> {2,3} * [2 3]
ans =
2×6 cell array
  [2]    [3]    [2]    [3]    [2]    [3]
  [2]    [3]    [2]    [3]    [2]    [3]

The mtimes.m you submitted will be moved to the class folder @cell:

mkdir @cell
movefile submission/mtimes.m @cell

Solution Stats

56.25% Correct | 43.75% Incorrect
Last solution submitted on Jun 08, 2018