Questions tagged [frequency]

The rate at which a thing occurs or is found.

The rate at which a thing occurs or is found.

2858 questions
1
vote
2 answers

First time working with arrays, trying to create frequency table

I can't see where I'm going wrong with this one, I want it to display the frequencies of the survey's result but all I get is zeros, for example if I enter 1,1,2,2,5 I want it to output: Displaying response frequencies... 1 2 2 2 3 0 4 0 5 …
Waj
  • 301
  • 1
  • 4
  • 13
1
vote
1 answer

iPhone audio frequency

Possible Duplicate: How to detect sound frequency for particular sound in iphone? I am seeking a way to find the frequency of mic input. I can record my voice or a sin noise in a temporary file. For the recording I am using the AVFoundation…
attin83
  • 115
  • 3
  • 8
1
vote
1 answer

Checking Frequency of Pulse, zero pulse case Android

I have a sensor that is measuring wind speed. For zero wind it outputs 0V (LOW) and has no pulse. However it outputs pulses (HIGH) for any speed greater then 0.3m/s. I am trying to write some code to intepret this in android, and have been using the…
1
vote
2 answers

Finding Sampling Frequency of .wav file in MATLAB

I am reading a .wav file in Matlab. Then I play the read file with a specified sampling frequency 44100Hz. But when I try to play a file sampled at low sampling frequency, it gets played as if I am playing it in fast forward mod and thats because…
Alfred
  • 1,543
  • 7
  • 33
  • 45
1
vote
1 answer

iPhone 5 CPU frequency throttled when running on its battery

I am working on an iOS app that uses iPhone’s CPU to do some complex image processing. I noticed when running on its battery, the iPhone 5 CPU is very sluggish right after you press the power switch to wake it up out of hibernation. In many cases,…
Sean
  • 11
  • 2
1
vote
1 answer

Frequency detection on Android - AudioRecord

This is my second question because i hawe a problem. I've to implement a simple Frequency detection on Android. For the DFT i've found the jTransform library (https://sites.google.com/site/piotrwendykier/software/jtransforms). In the API of…
luke88
  • 958
  • 19
  • 40
1
vote
1 answer

RapidMiner - range by occurence

I want to filter my results (document occurrence) by the most frequent (the 10 most popular them). How do I do that?
aldimeola1122
  • 806
  • 5
  • 13
  • 23
1
vote
1 answer

How to count frequency of elements located in a small grids?

Lots of data (3 column) in files such as: longitude latitude count 20.12 50.45 1 35.78 24.26 1 20.48 50.16 2 ... ... ... Map (longitude and latitude) split many grids: 0.5*0.5 (size), for…
1
vote
0 answers

How to gauge or compare relative frequency of arbitrary words without a search engine API?

More than a few times I've wanted to programmatically pick the better of two words or phrase using frequency of use on the Internet as a heuristic. The obvious way, and the way to do it manually, is to enter each term into a search engine and note…
1
vote
2 answers

Probability count/frequency of related words?

I'm looking for a way to produce a numerical probability value for single words which share a common root word/meaning. Users will generate content using words like "dancer," "dancing," "danced." If "dancer" is submitted 30 times, and dancing 5…
monkey blot
  • 985
  • 3
  • 10
  • 18
1
vote
1 answer

Detecting acceleration's change frequency with accelerometer

I have an accelerometer with 3 axes and I need to detect acceleration's change frequency. It's ok when object is moving straight, without rotation - in that case I can simply ignore g (acceleration due to gravity), it would have constant direction…
Natalia
  • 783
  • 7
  • 18
1
vote
2 answers

how to retrieve the different original frequency in each FFT caculating and without any frequency leakage in java

I'm fighting for such question as recovering the original frequency from audio data recorded by mic. Sorry for my english... Let me explain this question more clearly. I have generated some specific frequency using the following code I: void…
liguoqing
  • 63
  • 6
1
vote
1 answer

VHDL - determining counter period

Dear intellectual beings of SO, I just wanted to clear some doubts I'm having about determining the time it takes to iterate through a complete loop. Consider I have a 50Mhz clock which means the clock period is 20 ns. Now, if I have a counter that…
Triple777er
  • 621
  • 3
  • 17
  • 30
1
vote
1 answer

AVR Assembly pure software PWM not giving constant frequency

Can someone spot why this code fail to output a constant pulse? At least my Fluke can't trigger on the high pulse, seems like it comes and goes a bit random.. This is my first asm program, so keep in mind it could be naive bugs in the…
Lars
  • 13
  • 1
  • 4
1
vote
2 answers

Plotting histogram using clusters

I have tried to research this problem, but failed. I'm quite a beginner at python, so bear with me. I have a textfile containing numbers on each line (they are angles in degrees). I want to first cluster the angles into cluster sizes of 20. Then I…