Problem 1762. Create incrementing array
Given a and b generate an output matrix as shown in following examples:
a=2 b=5 output=[2 20 200 2000 20000]
a=4 b=3 output=[4 40 400]
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers284
Suggested Problems
-
Back to basics 9 - Indexed References
450 Solvers
-
Back to basics 13 - Input variables
271 Solvers
-
Sum of first n positive integers
608 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
255 Solvers
-
Matlab Basics II - Max & Index of Max
258 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!