How to generate a signal at Specific time without re-sampling data into million points and free from any error.?
Show older comments
Hello, I am working on signal processing and noise characterization application. Time interval for signal is 1 sec. I have an event triggered at exactly 0.4568 sec(calculated by interpolation). Now i would like to generate some signal exactly at this time, however i don't want to re-sample my time to million interval and get a time with very small error.(by applying re-sampling i am getting an error < 0.0005 sec ) but i want signal at the specific time of 0.4568 sec without any error. I was wondering if any one can help me on finding a mathematical or shifting technique i could implement to remove any error.? I would code everything myself, I just want someone to let me know if any such technique exists? Solution implemented by anyone if they encountered this problem earlier? links to prior solved related questions and blogs will be very helpful.
Thanks, Joy
Answers (2)
Walter Roberson
on 13 Mar 2013
Edited: Walter Roberson
on 13 Mar 2013
0 votes
You would have to change representation using the fixed point toolbox, as MATLAB cannot represent "0.4568" exactly in double precision.
Joy
on 13 Mar 2013
1 Comment
Walter Roberson
on 13 Mar 2013
You cannot exactly represent 0.4568 so you cannot generate the value at exactly there.
Categories
Find more on Multirate Signal Processing 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!