How to make time shift in a vector using non integer values?
Show older comments
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 Comments
Stephen23
on 11 Jun 2021
Most likely you are confusing data (e.g. time) with code (e.g. indices). Please show your code.
Kim Ibrahim
on 11 Jun 2021
Accepted Answer
More Answers (0)
Categories
Find more on Structured Data and XML Documents 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!