A question of mine which dealt with a slowly executing query introduced me to the sp_updatestats() function. I want to take pro-active steps to call it on a regular basis rather that wait for my queries to randomly start timing out during business…
I am trying to make a summary table of many strings. My data looks like this:
x<-c("a", "a", "b", "c", "c", "c", "d")
How would I analyse the recurrence of each string at once? Ideally to produce a table of frequency like this (I presume it would…
Just wondering if anyone has come by any example code using the ToneGenerator class? I would like to generate tones in the frequency range of about 200Hz to 900Hz.
Thanks...
I have a large CSV file, which is a log of caller data.
A short snippet of my file:
CompanyName High Priority QualityIssue
Customer1 Yes User
Customer1 Yes User
Customer2 No …
I would like to decipher texts based on frequency analysis. Programming is not the problem, but there are some mathematical difficulties.
(No worries, not for hacking, I want to have a go at the Zodiac 340 cipher, but the question is just in general…
With df:
df <- data.frame(value=abs(rnorm(100, 25, 5)), status=sample(0:1,100,replace=T))
df$value[sample(1:100,5)] <- NA
I need to get a frequency (percentage) table (better return a matrix) like the following:
value | status(0) …
We are working on a project which allows us to record some sounds from a microphone with a 5k Hz sample rate with some Low-Pass filter & HighPass filter.
What we are using
We are using AvaudioEngine for this purpose.
We are using AVAudioConverter…
I'm using FFT to extract the amplitude of each frequency components from an audio file. Actually, there is already a function called Plot Spectrum in Audacity that can help to solve the problem. Taking this example audio file which is composed of…
I would like to make a word frequency distribution, with the words on the x-axis and the frequency count on the y-axis.
I have the following list:
example_list = [('dhr', 17838), ('mw', 13675), ('wel', 5499), ('goed', 5080),
…
I am currently working on my fourth year project (computer science) which involves the automatic transcription of music -> sheet music. I am doing it in Matlab at the moment but will have to be converted to java at some stage.
My problem:
…
My question involves writing code using the dplyr package in R
I have a relatively large dataframe (approx 5 million rows) with 2 columns: the first with an individual identifier (id), and a second with a date (date). At present, each row indicates…
I have a simple table BIRDCOUNT below, showing how many birds were counted on any given day:
+----------+
| NUMBIRDS |
+----------+
| 123 |
| 573 |
| 3 |
| 234 |
+----------+
I would like to create a frequency distribution…
I'm trying to write a function to extract the frequencies of this table:
0 1 2 3 4 5 6 7
30 22 9 12 2 5 1 16
So I want to get c(30, 22, 9, 12, 2, 5, 1, 16).
The table changes each time I run the function, so I need something that can…
So I found this Google interview algorithm question online. It's really interesting and I still have not come up with a good solution yet. Please have a look, and give me a hint/solution, it would be great if you can write the code in Java…