Multiplication - MATLAB Cody - MATLAB Central

Problem 2157. Multiplication

Difficulty:Rate

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

45.65% Correct | 54.35% Incorrect
Last Solution submitted on May 06, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Problem Recent Solvers98

Suggested Problems

More from this Author21

Community Treasure Hunt

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

Start Hunting!