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 Solvers491
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3065 Solvers
-
Project Euler: Problem 7, Nth prime
1753 Solvers
-
346 Solvers
-
Calculate the area of a triangle between three points
3425 Solvers
-
742 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