Define the vector dVec:

(Logarithmically spaced numbers between 1 and 10)
Using elementwise operations, calculate zVec:
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers430
Suggested Problems
-
Return the largest number that is adjacent to a zero
5516 Solvers
-
3403 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3064 Solvers
-
308 Solvers
-
542 Solvers
More from this Author26
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!