Cody

Problem 45511. Matrix for beginners

Solution 2569848

Submitted on 16 Jun 2020 by Nabil Chowdhury
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
x = [1 1]; y = [1 1]; z_correct = [1 1]; assert(isequal(your_fcn_name(x,y),z_correct))

ans = 1 1

2   Pass
x = [2 2]; y = [2 3]; z_correct = [4 6]; assert(isequal(your_fcn_name(x,y),z_correct))

ans = 4 6

Suggested Problems

More from this Author9

Community Treasure Hunt

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

Start Hunting!