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 Solvers292
Suggested Problems
-
Find the sum of all the numbers of the input vector
53458 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15765 Solvers
-
660 Solvers
-
Given a window, how many subsets of a vector sum positive
869 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1251 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!