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
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15817 Solvers
-
2349 Solvers
-
Get the length of a given vector
13727 Solvers
-
Given a window, how many subsets of a vector sum positive
873 Solvers
-
6021 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!