I am struggling with the problem on how to calculate power with given IQ samples. Everyone says different ways of doing it. I need just a value not, the PSD. My algorithm goes as follows:

1) Calculate the sum of absolute values of IQ samples: A = sum(abs(samples

2) Average and RMS calculation so: B = A/(N*sqrt(2)) , where N - amount of complex samples

3) B is Vrms so using P = (Vrms)^2/R formula, I am calculating the power: P =...

How to estimate signal power from IQ samples?]]>

Code:

```
long long mac(int len, int *sample, int *cof, int item)
{
int i, io;
static long long y;
io = 0;
y = 0;
item /= 4;
for ( i = 0; i < len; i++ )
{
y += (long...
```

I am very new to image processing. I am doing an online class in FPGA open online course about self-driving cars. I facing with practice problems about lane detection using image processing, which is very stranger to me. Before I advance to the software part, I really want to solve edge detection using Sober Filter on Slopes and Diagonals.

I already understood horizontal and vertical

but for slopes...

Sober Filter Calculation for Slopes and Diagonal Masks]]>

and when I design inductor in the HFSS, the values of 1port(single ended) and 2port(differential) are different.

1port(single ended) inductor spec: L= 172pH, Q=19.6, Fsr=122GHz

2port(differential) inductor spec: L= 152pH, Q=33.5, Fsr=221GHz

(the mode parameters are totally same in width, Thickness, diameter..etc. I just transformed way of excitation. 1port or 2port...

Differences between single ended / differential inductor]]>

The aliased frequencies they speak of are artifacts of the algorithm used to generated the audio samples. If their sampling rate is 48000/second, a naive approach to generating your samples will inadvertantly create higher order...

Arturia's True Analog Emulation, how does it work?]]>

The inputs to these headers will be provided through a function generator and a Zedboard FPGA. The frequency of my test signals are small (<10 MHz).

I recently realized that I do not actually need 50 ohm terminated traces, but it's too late to change that now. My question is, would this termination affect my input voltage level.

For...

50 ohm termination trouble]]>

I have an antenna emitting microwave radiation and a multi-layered brain model in front of it having a tumor. For calculating round trip travel time of the microwave signal to-and-from the antenna and the tumor, will I have to consider the shortest path or the shortest time?

Thanks in advance.]]>

I am planning to measure the phase noise of a VCO using PLL technique using spectrum analyzer model # R&S FSL (9kHz - 3GHz).

My question is what should i look for in the spectrum analyzer for measuring the phase noise. Do I need to plot the output of the LPF (connected at the output of the mixer) from 9kHz to, say, 100kHz? Then the resulting display will give me the rms value of the mixer output (amplified by a LNA), at different frequencies. Will it give me the phase noise once I...

Phase Noise Measurement using spectrum analyzer (PLL technique)]]>

ADC: 10bit. Speed: 1MSPS.

Data input range: 0-5V.

CPU: DSPIC30F2010; 16bit.

This code is working fine. But consuming 25% of total ROM & 40% RAM. I need suggestion to rewrite this code so that I can save some RAM & ROM.

I need at-least 20 samples to get the best result. Signal is both AC & DC. Other programs running in interrupt of 64uS which takes around 16us to complete.

Code:

`//sensing...`

Im designing a FIR filter, in this case a low pass. I get the coefficients from Matlab (no matter from where..) ,that are from 0 to 1, in floating point.

Now, I want to implement this FIR in my FPGA ,with buil in 18x18 multiplier.

So,I transform the coefficient in integer value of max 17 bit (1 bit for sign) ,multipling the bigger coefficient such that arrive < than 2^17 , and cutting the decimal.

That means, all coefficient preserve the precision more than possible when...

FIR Filter general question]]>

Using dsPIC30F2010. Compiler: mikroC pro for dsPIC v7.1.0

There is a small dc voltage in each signal which can...

Measuging signals with dsPIC30F2010]]>

=[H(1),........................H(q-1),....................H(k)] that found in attached image]]>

I bought a TFT display and would like to connect this display on an Arduino Uno, does anyone have any example of connection for me to follow ?

Pins from my display:

Thank you]]>

Hi,

the structure of a general GNSS receiver is attached. Question: can this receiver only process three channels?

Senmeis]]>

Any relevant answers will be highly appreciated.

Thanks,

Luca]]>

I am a student doing research in high-speed electrical link.

I have came up with a new signaling scheme, and want to see spectrum plot of it but not sure how to correctly perform fft on the signal in MATLAB.

My signaling scheme, uses phase modulation to have same spectral efficiency as PAM-4 signal (which is 2bits/UI) but has one-UI that is 1.25 times larger than the PAM-4 signaling.

We know that for PAM-4 signaling, the first null in the spectrum plot appears at its symbol-rate...

How to perform FFT on random data signal correctly in MATLAB?]]>

The camera is 3 meters away from the playground. How do I get the actual distance between the balls?]]>