Define the vector cVec:

(all the numbers from 5 to -5 in increments of -0.2)
Using elementwise operations, calculate xVec:
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers490
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3675 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2834 Solvers
-
Back to basics 22 - Rotate a matrix
936 Solvers
-
Change the sign of even index entries of the reversed vector
644 Solvers
-
1820 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!
copy and paste from test suite