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 Solvers493
Suggested Problems
-
3988 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
897 Solvers
-
Find out missing number from a vector of 9 elements
322 Solvers
-
390 Solvers
-
Sum of odd numbers in a matrix
624 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