how many times repeat a number in an array??
i have a function that gets from the user a random Array.by using the unique function i have a unique list with the arguments of the vector.with out using loop how do i find the times which a number is repeat in the array
Any help??
.
Relevant Pages
- Re: How would you do this in forth?
... I thought I'd just code up a quick array based solution before making ... You might try doing "found" with a DO LOOP instead of BEGIN WHILE REPEAT ... If I doesn't have to be on the stack then not-yet and got-it: ... (comp.lang.forth) - Re: C question!
... Yes Tim, you are right! ... But I am using an array, ... you have an opportunity to replace that with an iterative loop. ... First, when you repeat code, you ... (microsoft.public.vc.language) - Re: Check value in Array
... your method needs, on average, to loop 224.9602 times. ... and then just shuffle the array. ... cell to see if the new random number is equal to that cell value. ... I have to repeat this step several thousands time and it ... (microsoft.public.excel.programming) - Iterating a For Loop on an array index, and repeating
... I have a seemingly simple task, but I am new to LabView and visual programming: ... While "Start" = true, repeat for loop ... constant, for instance I could say repeat 3 times, but this is not ... way to do this in LV 8 without going from an array to a cluster, ... (comp.lang.labview) - Re: Changing Max across a matrix.
... Peter Boettcher wrote: ... That's a great suggestion. ... also want to test using the Unique function. ... Here I would loop through this 3 times. ... (comp.soft-sys.matlab) |
|