Define the vector cVec:
(all the numbers from 5 to -5 in increments of -0.2)
Using elementwise operations, calculate xVec:
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more