How do I calculate the sum of TStep1 and TSTep2?
3 views (last 30 days)
Show older comments
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
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;
Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!