How do I calculate the sum of TStep1 and TSTep2?

3 views (last 30 days)
If TStep = Step', where Step = -2:4:14, and TStep1=TStep(1), TStep2=TStep(2), then how do I calculate the sum of TStep1 and TSTep2?
  2 Comments
David Hill
David Hill on 21 Sep 2019
I guess I don't understand the question. The sum is:
TStep1+TStep2
Athul Prakash
Athul Prakash on 27 Sep 2019
TStep is a 5x1 column vector.
TStep1 = Tstep(1) = -2
TStep2 = TStep(2) = 2
you answer = TStep1 + TStep2 = 0
mYAnswer = TStep1 + TStep2;

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!