DSPRelated.com

nate duong (@nateduong)

electrical engineer student from Colorado.

I am a new student and trying to to measure the power and voltage output from B200 SDR device (https://www.ettus.com/content/files/b200-b210_spec_sheet.pdf) using...
doing this way: https://www.dropbox.com/s/le4ppw32l4sp5ll/RX1.dat?...https://www.dropbox.com/s/zr04pff9skeh8cn/TX.dat?d...format long;%% initial values:nsamps  ...
@kaz:So, I have to interpolate rate of 125 first on signal1 and signal2, then I have 2 new  signals let say s1 and s2.I can cross-correlation s1 and s2 to get the...
@kaz: very helpful, I also look at the maxlag parameter of the xcorr function, do you think it can be used? And, that would be nice if you can show me in the matlab...
I just discussed with the professor, he also mentioned the expectation for the delay will be 3ns or better (less than 1m).I do not have continue function, I jsut...
good advises, Thank you very much, KAZ.
so, If this code is still getting in microsecond, So I have to check to hardware?we can see the sample rate is 8MHz, the the wavelength = speed of light / sample...
after trying your code:delay = 87; delay = delay/Fs; %  1.087500000000000e-05 (still in microsecond)
they could be same sampling rate, same centre frequency, and maybe different in phase.and and also you can see in detail this topic, i posted couple days ago but...
And if the length(x1) is not same length(x2) can I add zeros on x1 make to the same length with x2?
they are same sampling rate, but not sure on center frequency and phase.and also you can see in detail this topic, i posted couple days ago but no one replied or...
here is my TX and RX data, and trying to show you the reason why I cut RX data into 2.and If I correlate the pair once, I can have this:that make me confuse, if...
I have 2 PERFECT data of the transmitter and receiver. From 2 data, I can calculate the delay estimation:Fs = 8e6; % sample rate ... for i = 1:2 [cc_correlation,lag]...

Re: How to calculate time delay estimation?

Reply posted 8 years ago (04/10/2017)
@laurentlefaucheur, It's ok, at least I have more ideas, that is we can do it frequency domain.

Re: How to calculate time delay estimation?

Reply posted 8 years ago (04/10/2017)
@laurentlefaucheur: - I am sorry I can not run this code, because of this:     datachunkLeft = audioread('RX.WAV');- My data file is RX.dat, but not RX.WAV...

Re: How to calculate time delay estimation?

Reply posted 8 years ago (04/10/2017)
@ dgshaw6 :- you can forget about this line, because I just want to set automatically recognize the time from RX data (for example: 1, 5, 10, 20 seconds data)....

Re: How to calculate time delay estimation?

Reply posted 8 years ago (04/10/2017)
@ krasin: - Yes, They are pulses.- I have Transmitted data (TX.dat) which is called TX. - I send this data to another device, then I have Received data which is...

Re: How to calculate time delay estimation?

Reply posted 8 years ago (04/10/2017)
@Tim Wescott: Thank you for your suggestion, I hope you can look at my new code and give me some comment.My new code which reply with Mr "Rick Lyons" below. You...

Re: How to calculate time delay estimation?

Reply posted 8 years ago (04/10/2017)
@Rick Lyons: Thank you for your suggestions, I did this way, I used the "transmit"signal (without noise added), then put it in the function lagmatrix, (we can...

How to calculate time delay estimation?

New thread started 8 years ago
I have 2 data fileTX data file: https://www.dropbox.com/s/xgyo6le3bcmd25r/RX.dat?d...RX data file: https://www.dropbox.com/s/0nmhw6mpgh7upmv/TX.dat?d...and easily...

Use this form to contact nateduong

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address