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 Solvers492
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53414 Solvers
-
Return the 3n+1 sequence for n
8513 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3719 Solvers
-
Fahrenheit to Celsius converter
609 Solvers
-
Flip the vector from right to left
11273 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