Recent content by Nate Duong

  1. N

    How to measure output voltage of B200?

    Hi, 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 oscilloscope (TDS3000 Series: https://www.atecorp.com/ATECorp/media/pdfs/data-sheets/Tektronix-TDS3000_Series_Manual.pdf)...
  2. N

    MATLAB Why 2 vectors are not the same in matlab?

    @Mark44: that could be, i am happy if some very small decimal number exist (my expectation in nano or pico values) but is there any way to detect them (if they are exist), even I used command format long and still do not see any change.
  3. N

    MATLAB Why 2 vectors are not the same in matlab?

    @berkeman: if I shift right by 4 places instead of using the multiplication, I will have what I want, that is vector [1 1 1 1], that is no surprise, but the thing I am working on is very small number (in nano values 1e-9) and sometime matlab gives me a vector, example: a = 1.0e-04*[ 1 1 1 1]...
  4. N

    MATLAB Why 2 vectors are not the same in matlab?

    I have 2 vectors: a = 1.0e-04*[0.110000000000000 0.140000000000000 0.140000000000000 0.140000000000000]; b = [0.000011000000000 0.000014000000000 0.000014000000000 0.000014000000000]; by look at by eyes, it seems similar; but when I use this command: a == b then I got...
  5. N

    How to add confg file to allow UHD drive set priority?

    I have Ettus B210 and trying to add 1 line configuration file "/etc/security/limits.conf" which will allow UHD drive to set priority. So , I typed this command to edit file: gksudo gedit /etc/security/limits.conf and add: #@student hard nproc 20 #@faculty soft...
  6. N

    What is preventing me from achieving better accuracy for this delay?

    Did I do right? make sense to you? please fix me! https://www.dropbox.com/s/le4ppw32l4sp5ll/RX1.dat?... https://www.dropbox.com/s/zr04pff9skeh8cn/TX.dat?d... clear all; close all; format long; %% initial values: nsamps = inf; nstart = 0; Fs = 8e6; % sample rate 8MHz...
  7. N

    What is preventing me from achieving better accuracy for this delay?

    I am not sure, but what if they are analog signal? and what if they are digital signal? I also have an image which show the relationship of them.
  8. N

    What is preventing me from achieving better accuracy for this delay?

    @FactChecker: yes, I am using the rubidium clock the time synchronized by interrupt (http://www.thinksrs.com/products/PRS10.htm) and 1 set on the TX and another on set on the RX. the accuracy of it is 5e-11s
  9. N

    What is preventing me from achieving better accuracy for this delay?

    @f95toli: index i means, I calculate delay in multiple RX signal from the receiver (not only one), I want to see the variation of the delay.
  10. N

    What is preventing me from achieving better accuracy for this delay?

    they are not the same value, because of noise added due to signal bouncing in the lab, the amplitude of the TX data bigger than RX data 30 times. original length of TX data is about 208000, but the length of RX data is 800000, therefore after the Transmitted real TX data, and the rest of time in...
  11. N

    What is preventing me from achieving better accuracy for this delay?

    @FactChecker: Sorry for lacking of knowledge, but I thought the calculations were wrong. you also helped me know more the way to debug the problem. I appreciated for it. Consider I have this question "how much accuracy you have in the timing?" as you mentioned. Fix me if I state: "an...
  12. N

    What is preventing me from achieving better accuracy for this delay?

    @FactChecker: very helpful, even I am still trying to understand the meaning of MAXLAG. but 1 thing I also thinking of, that is: the professor is asking to find the interpolated maximum of xcorr rather than max sample location. So, the continuous signal is difference from computed sample peak...
  13. N

    What is preventing me from achieving better accuracy for this delay?

    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 have function of the sample time (sample waveform different to the continuous of time waveform) I am taking sample number of delay...
  14. N

    What is preventing me from achieving better accuracy for this delay?

    Yes, I did. I already tried with 1 second of data, and still give me the same delay in microsecond, I know the algorithm which I posted, was wrong and I am still trying to figure out the way to get in nanosecond. According to this link which I am following...
Top