Recent content by SKT_90

  1. S

    Large datasets - how to handle / alternatives

    Hi, yes they are increasing values, but the size of the arrays differs quite a bit. I am trying to do an implicit loop but I cannot get it to work. Do you mean by setting up the index as a function?
  2. S

    Large datasets - how to handle / alternatives

    Hi, Thank you for your response. If I want to save the first index that is the best match in the second array, how would I break after that? Just to get the code working first and then I can change afterwards if it is not a good match. Thanks!
  3. S

    Large datasets - how to handle / alternatives

    Hi BvU, Yes sorry if my initial explanation was not clear. I am trying this in MATLAB where I have vector 1; and vector 1+window Then I search for indices of vector 2 that lie between these values, running through each value for vector 1, vector 1+ window This is taking very long and I still...
  4. S

    Large datasets - how to handle / alternatives

    Hi FactChecker, This is similar to what i was doing but instead of (i,j) i would get (i,1) j times? that would be too many arrays wouldn't it?
  5. S

    Large datasets - how to handle / alternatives

    Hi BvU, I need unique values, so once matched with 1 it doesn't match with another.
  6. S

    Large datasets - how to handle / alternatives

    Hi BvU, I agree that 4 is better than one big one. I just do not know how to implement what you mean. I need indices corresponding to values of first vector within window of second vector. is what you're suggesting giving me values of first vector within window of itself?
  7. S

    Large datasets - how to handle / alternatives

    Hi, Thanks all for the replies. In response, the time information is already increasing but it is not evenly spaced. I am not sure what you mean since that would only give me indices for the first set, but I need the indices for the second set as well and the two have different lengths...
  8. S

    Large datasets - how to handle / alternatives

    I am thinking to use ismembertol but this is not unique and I want values of vector2 within coincidence window after vector1, so not absolute comparison
  9. S

    Large datasets - how to handle / alternatives

    Hello, I am trying to do the following: I have two inputs that are very large files - I extract the first column of each so I have two vectors of ~2-5mil by 1. This is timing information. The goal is to extract the indices of each vector where the time in one vector is within a certain...
  10. S

    Determining the time interval in a radiation counting problem

    So i get : 1 - exp(-Cn_dot * t) = p(t) I'm not sure how to sample the time from here?
  11. S

    Determining the time interval in a radiation counting problem

    Hi scottdave, Yes - this is what I mean to do. I think t' is just a dummy variable as stated in the question, so we can integrate it from 0 to t.
  12. S

    Determining the time interval in a radiation counting problem

    Homework Statement Given: Cn_dot = true event rate = 10 interactions/s p(t')dt' = differential probability of an event Homework Equations p(t')dt' = Cn_dot * exp(-Cn_dot * t') dt' The Attempt at a Solution [/B] I want to sample the time interval using python. But I'm not sure how to go...
Back
Top