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 Solvers273
Suggested Problems
-
615 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10779 Solvers
-
Sum of odd numbers in a matrix
561 Solvers
-
Matlab Basics - Pick out parts of a vector
254 Solvers
-
656 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!