# Questions tagged [frequency]

Frequency in signal processing is the number of cycles (of the signal) per second.

509 questions
Filter by
Sorted by
Tagged with
2answers
8k views

### How to calculate the frequency of a signal without knowing the sampling frequency using Matlab

I have a signal and I am using Matlab command pwelch to calculate the frequency of the signal, but the frequency I obtained is changed as I change the sampling frequency. For example, when using ...
2answers
6k views

### Frequency Shifting in MATLAB

I am currently attempting to demodulate an audio file using MATLAB. After taking the fft of the signal, I receive this: After some more coding, I found the following values: Fs = 44100; Window ...
0answers
87 views

### Filtering with filters without even or odd symmetry in the fourier domain

I am doing a project where I have to use the fourier domain for convolution. I have been reading Digital Image processing by Rafael Gonzalez but I unsure about one thing, and I could not find anything ...
1answer
536 views

### Why is the magnitude of the second component of my FFT spectrum always the largest one?

While working with FFT, I have a strange case with a current experimental setup. I am working with beat frequencies (intermediate frequency output) and using a standard FFT algorithm (complex to ...
0answers
116 views

### Curve fit for fft dplot

I have data from accelerometer (time domain) and convert it to fft using Fourier Transform. However, I need to do the curve fit to the plot. Can somebody share with me the coding.I don't know how to ...
0answers
430 views

### Very high SNR BPSK modulation

I am using BPSK modulation to modulate a signal in continuous time (making rectangular waveform, multiplying by a carrier). The channel is band-limited and frequency-selective, and has the following ...
1answer
984 views

### Real-time frequency recognition in python

I'm a newcomer to signal processing, so forgive my ignorance. I'm working on a project in Python that will play a .wav file and pick out the dominant frequency as it plays. I've found a few examples ...
4answers
9k views

### Calculate and interpret the instantaneous frequency

I'm new to the principle of calculating the instantaneous frequency, and came up with a lot of questions on it. You find them all in a bullet-point list at the end of this text. The text might be a ...
1answer
58 views

### Cannot recreate a simple Nyquist series in Matlab

a Nyquist series should look something like {...-1, 1, -1, 1, ... }, which i think means it is a sine wave sampled at the peaks and valleys exactly. Now, given a sampling rate of 48 Hz, the Nyquist ...
3answers
446 views

### Zero-frequency response of an IIR transfer function

I have a question about the zero-frequency (DC) response of a IIR filter. The coefficients of the 3rd order IIR filter are as follows, ...
2answers
3k views

### Find Stopband Edge Frequency

I tried to find the stopband edge frequency.I know that the signal amplitude falls to -3 dB below the passband edge frequency.I examine a lot of DSP books so i don't any information about how to ...
0answers
103 views

### Getting the frequency of a 0.33Hz to 3Hz signal

I read a noisy signal from an accelerometer which is attached to the pedal of a stationary bike and need to find the frequency of the signal/ speed of the person cycling. I taught of the following ...
2answers
1k views

### Am i performing Sinesweep correctly?

I am bit unsure whether i am doing i sine sweep correctly. I am feeding my system a sine wave with f hertz within a given time interval and log its output. And then i do the same for another ...
1answer
722 views

### Parallel Goertzel filters in C# [closed]

I have 2 frequencies in my application: $12000\mathrm{Hz}$, $13000\mathrm{Hz}$. I want to set a parallel Goertzel filters and every 100ms I want to take the bigger magnitude for detecting the tone ...
1answer
371 views

### FFT peak estimation: Zero-padding vs signal repetitioon

I am working on obtaining the vortex shedding frequencies behind a 2D square using CFD. Time-varying data is being extracted from a specific cell behind the square. I've written a little python script ...
0answers
666 views

### How to show the time history of a signal down-sampled ? under the rate of 25Hz & 40Hz and find its DFT analysis?

How to show the time history of a signal down-sampled under the rates of 25Hz & 40Hz and find its DFT analysis using Matlab ? The sample signal is in a data file (sensor_data.mat) its sampling ...
4answers
433 views

### Why every musical instrument sounds different than any other while listening?

This is soft question.I am not expert in music. We know that English language has 26 letters (which are again grouped into vowels and consonants) , while language of music is same all over the world ...
1answer
46 views

### nyquist fequency

simple question, but I cant seem to understand how they got the answer. I have $x(t)$ as a signal, and I'm told that its Nyquist frequency is $\omega_0$ I'm asked - what is the Nyquist frequency of ...
1answer
1k views

### What is the difference between upsampling and up conversion (done during signal transmission)? Also is upconversion different from modulation?

Up sampling is when you increase the sample rate of a continuous signal. Modulation is when you, by multiplying with a carrier, shift the base frequency of a signal. But what is up conversion? How is ...
1answer
50 views

### input output read/write frequency

I am trying to identify a system based on input/output response and thereby estimate a transfer function. I generated a frequency sweep function in Mathematica which gives me the discrete values of a ...
2answers
505 views

### Find the Differential Equation of an Analog Band Pass Filter

I don't even know how to start. We're supposed to find the differential equations that links $V_{in}$, $V_{out}$, and $V_{io}$, as well as the values of $C_1$, $C_2$ and $R$ so the filter works in the ...
1answer
148 views

### Frequency and amplitude estimation with missing samples

My input signal is given by $$x[n] = A\sin(2\pi f n/F_s + \varphi)$$ The signal is uniformly sampled at a sampling rate of $F_s$[Hz]. However some of the samples are missing. Assume that there are ...
2answers
4k views

### Dominating frequency in a “clear” 50 Hz signal

I am trying to find out the dominating frequency of a signal with a frequency of 50 Hz (sampled at 200 Hz - every 5 milliseconds). The python code I am using to do this is the following (based on ...
1answer
2k views

### What is the maximum frequency that can be captured by a given sampling rate?

Let's say that we want to digitally sample an analog signal and have a sampling frequency of 8000 samples/second. Usually the maximum frequency that can be captured is the half of the sampling ...
2answers
2k views

### Frequency spectrum of signal - Matlab

Here is the code I use to plot a function in frequency domain in Matlab: ...
3answers
3k views

### what are frequencies in a digital image? [duplicate]

I don't completely understand the term " frequency" with respect to digital image processing. for 1D electrical signals , its pretty easy to understand , visually too. higher the frequency - more ...
2answers
110 views

### Frequency modulation of audio signals. Does increasing the pulse width of frequency tone result in larger operating distance?

I have a simple frequency modulation scheme where in I am sending simple textual data by encoding it into specific frequencies(for example 'a' is converted to ASCII value of 97 and I use 10 ...
2answers
6k views

### How compute frequency of signal from zero crossing? [duplicate]

I need to compute frequency of a signal from zero crossing.It's possible to compute to frequency from zero crossing of a signal. Plz anybody help me about this with matlab .
3answers
2k views

### FFT bin interpolation for low frequency with DC offset

I have a noisy signal in I/Q format with a peak frequency that constantly changes between 0.5Hz and 4Hz. The sample rate is 64Hz. I want an output showing the current peak frequency with a maximum lag ...
0answers
52 views

### How to scale fundamental frequency to [0,1]?

[Sorry for the noobish question...] I have a signal which is known to be generated by a process operating at some known rate $f$ Hz and the sampling rate is also know to be $K$ Hz. Now I do a ...
1answer
796 views

### What is the minimum sampling duration to capture a given frequency?

Due to the Nyquist rate, you need to sample twice as fast as the highest frequency you want to measure. Then when you do a FFT the number of samples determines the number of bins and thus the ...
2answers
412 views

### Instantaneous magnitude

I was reading this thread: How to get Instantaneous Magnitude for a Instantaneous Frequency From FFT? I have basically the same question, but I'm curious about more detail about the Hann window ...
2answers
2k views

### How do I identify CUTOFF frequency from my audio signal? [closed]

I was able to recorded an audio signal through the MIC and i applied FFT and Hanning window function to it. Now I want to know how do I identify CUTOFF frequency from it to apply the High Pass Filter. ...
1answer
72 views

### Signal Sampling

I am new in this field (junior year) and I have a question may a little lazy for the majority of the forum. I have a speech signal $x(t)=0.4\cos(100πt)+0.3\cos(1800πt)+0.2\cos(980πt)$ and I know ...
1answer
73 views

### Determine Frequency Resolution samples

Can someone tell me if the way I solved this problem is right? Suppose I have a signal $X_a(t)= 0.5cos(700πt)+0.6cos(720πt)+0.1cos(780πt)$ where $F_s=8000Hz$ I want to determine the minimum samples ...
1answer
175 views

### Magnitude value of filter frequency response

Can someone help me with this problem: Suppose we filter signals with the below pre-emphasis filter: $$y[n]=x[n]-0.8x[n-1]$$ I have to calculate the impulse response of the filter (ok easy) and ...
2answers
266 views

### FM demodulation amplifier with saturation

I'm trying to understand how FM demodulation works. I read a lot on the internet and as far as I understand, the main process is to extract the phase difference (that is also the output) between a ...
3answers
3k views

### Fundamental frequency

Can someone help me: I have a signal which consist of three frequencies; for example, $f_1=800\,\text{Hz}$, $f_2=1050\,\text{Hz}$, $f_3=1600\,\text{Hz}$. How can i compute the fundamental frequency? ...
3answers
1k views

### PLL and zero crossing detection

Is there an algorithm which can give the frequency and phase of a three phase signal (three phase voltages) without using zero crossing detection. I mean an algorithm which is done in open loop.
1answer
478 views

### Beat Detection with Arduino

I'm trying to make a robot dance on several songs using Arduino. I need to understand how to get the rhythm from the songs, something like detecting the beats, calculating the bpm.. I'm not expert but ...
1answer
72 views

### Frequency of a noisy signal with fixed width pulses

My electricity meter has a front panel LED which pulses in proportional to the current energy rate. The frequency changes but the pulse width is set at 250ms. Due to environmental conditions there's ...
0answers
71 views

### What is the relationship between signal and its analytical version?

Hilbert transform is used to transfer signal into analytical signal. But why after the transform, the envelop and instant frequency (if the signal is monogenic) can be calculated. What is happened in ...
0answers
858 views

### Confusion in the spectrum of FSK modulated signal by using matlab fskmod module

I want to do a comparison of power spectral density of BFSK, 4FSK and 8FSK by using matlab baseband module "fskmod".Following is ...
1answer
1k views

### Correlation between Sin and Square wave

I would like to know how $\frac T2$ came for time period in the image below.Because I think the frequncy is 1 so time period should be 1.Is that correct? or can anyone help me.. The article from ...
3answers
12k views

### Simple and efficient algorithm to detect frequency and phase of a sine signal

I need an algorithm to detect frequency and phase of a pure sine signal. The frequency of the input signal changes between 0 and 100 Hz. The value of the signal gets captured with a frequency of 20 ...
1answer
153 views

### Codec Output has “Wavy” Amplitude on Chirp Input

I am sending a chirp that sweeps form 20Hz to 500Hz to an audio codec, CS42L52, connected to an MCU, STM32F405, and I am receiving a "wavy" amplitude output. There is no processing on the MCU, I pass ...
1answer
435 views

### Given two waves, 441 Hz and 700 Hz, how many samples long is each wave's period if the sample-rate is 48 kHz?

The title says it all. I have two waves, Master and Slave. Master is at 441 Hz and Slave at 700 Hz. The sample-rate is 48 kHz. I want to know how to calculate the period of each wave in terms of ...
0answers
858 views

### What are the frequency components of a sampled signal after low-pass filtering?

A continuous signal $x_a(t)$ is a linear combination of sinusoids of frequency 250 Hz, 450 Hz, 1 kHz, 2.75 kHz and 4.05 kHz. The signal $x_a(t)$ is sampled at $f_s=$1.5 kHz, and the resulting digital ...
1answer
1k views

### Effect of Sampling frequency on RMS estimation

I have a simple, but interesting question for you. I have to compute the RMS (root mean square or standard deviation) value of a time signal which represents in my case a velocity mesasurement over ...
0answers
513 views

### Selecting the number of cycles for wavelet transform

I'm trying some wavelet analysis of EEG signals, using the phase lock measures from [1], specifically the S-PLV measure. In order to calculate that we perform a wavelet transform on the signals and ...