Cody

Problem 2416. Let's see how peculiar we can get

Solution 471372

Submitted on 14 Jul 2014 by L.K.R.Chaithanya kumar
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
%% assert(isequal(multPec(2,3),6)) assert(isequal(multPec(2,2),4)) assert(isequal(multPec(10,-10),-100)) assert(isequal(multPec(.2,-.3),-.06)) assert(isequal(multPec(2i,1i),-2))

Suggested Problems

More from this Author44

Community Treasure Hunt

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

Start Hunting!