Write a MATLAB function that takes a numeric array (vector or matrix) v and a scalar multiplier s. The function should return a new array where every element in v is multiplied by s.

Solution Stats

4 Solutions

4 Solvers

Last Solution submitted on Jun 14, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers4

Suggested Problems

More from this Author30

Problem Tags

Community Treasure Hunt

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

Start Hunting!