How to make time shift in a vector using non integer values?
显示 更早的评论
I need to implement this equation
I(t-Ts)= co*n(t) +c1* n(t-Ts)
Where Ts is 1 nanosecond, so I keep getting an error " Array indices must be positive or logical values". How can I implement that shift in time? Thank you.
2 个评论
Stephen23
2021-6-11
Most likely you are confusing data (e.g. time) with code (e.g. indices). Please show your code.
Kim Ibrahim
2021-6-11
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Structured Data and XML Documents 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
