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
-
Number of 1s in a binary string
11550 Solvers
-
349 Solvers
-
Create matrix of replicated elements
402 Solvers
-
607 Solvers
-
Matlab Basics - Convert a row vector to a column vector
684 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