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

84 Solutions

70 Solvers

Last Solution submitted on Nov 24, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers70

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!