How do I calculate the sum of TStep1 and TSTep2?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Athul Prakash
2019-9-27
TStep is a 5x1 column vector.
TStep1 = Tstep(1) = -2
TStep2 = TStep(2) = 2
you answer = TStep1 + TStep2 = 0
mYAnswer = TStep1 + TStep2;
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multirate Signal Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!