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
-
Extract leading non-zero digit
2257 Solvers
-
667 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
896 Solvers
-
MATCH THE STRINGS (2 CHAR) very easy
301 Solvers
-
find the roots of a quadratic equation
243 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!