Cody

Problem 2157. Multiplication

Multiply two numbers in a different manner. The numbers are given to you as vectors x and y.

Example

 x = [ 1 2 0 1 ]
 y = [ 8 5 1 ]
      1  2  0  1
 X       8  5  1
-------------------
      1  2  0  1
   5 10  0  5
8 16  0  8
----------------
8 21 11 10  5  1 

Solution Stats

62.96% Correct | 37.04% Incorrect
Last solution submitted on Sep 25, 2016

Problem Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more