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
-
273 Solvers
-
Create matrix of replicated elements
402 Solvers
-
Sum of first n positive integers
628 Solvers
-
Side of an equilateral triangle
7149 Solvers
-
3696 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!