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 Solvers272
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2694 Solvers
-
1524 Solvers
-
Back to basics 17 - white space
268 Solvers
-
Create a vector whose elements depend on the previous element
626 Solvers
-
501 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!