Recent content by SKT_90
-
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?- SKT_90
- Post #22
- Forum: Programming and Computer Science
-
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!- SKT_90
- Post #19
- Forum: Programming and Computer Science
-
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...- SKT_90
- Post #17
- Forum: Programming and Computer Science
-
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?- SKT_90
- Post #14
- Forum: Programming and Computer Science
-
S
Large datasets - how to handle / alternatives
Hi BvU, I need unique values, so once matched with 1 it doesn't match with another.- SKT_90
- Post #13
- Forum: Programming and Computer Science
-
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?- SKT_90
- Post #10
- Forum: Programming and Computer Science
-
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...- SKT_90
- Post #8
- Forum: Programming and Computer Science
-
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- SKT_90
- Post #2
- Forum: Programming and Computer Science
-
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...- SKT_90
- Thread
- Code Matlab
- Replies: 22
- Forum: Programming and Computer Science
-
S
Determining the time interval in a radiation counting problem
nvm, figured it out- SKT_90
- Post #6
- Forum: Introductory Physics Homework Help
-
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?- SKT_90
- Post #5
- Forum: Introductory Physics Homework Help
-
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.- SKT_90
- Post #4
- Forum: Introductory Physics Homework Help
-
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...- SKT_90
- Thread
- Counting Counting problem Interval Radiation Time Time interval
- Replies: 5
- Forum: Introductory Physics Homework Help