instruction
stringlengths
31
27k
I need an algorithm to assess the quality of a given audio. The task, is considered to be no-reference. Can anyone help me whether there is any method for quality assessment of any given audio? edit1: Note that I do not want to just classify them to good/bad (or similarly high/low quality). I need to give a score(simil...
I have started off with GNUradio and I am not sure if I understand the transition width parameter available in GNU radio companion filter blocks . As per online documentation transition width of a digital filter is the frequency difference between the cutoff frequency of the passband and the start frequency of the st...
I'm attempting to calculate the steady-state state variables for a digital biquad filter direct form II (transposed). Illustration For example, let assume the filter is fed a constant input of magnitude C. What would be the best method to calculate the internal state variables as the filter approaches steady state? Wh...
I am trying to compare the transfer functions of k different microphones and need some advice on my current approach. As of now, I have attempted the following: Play a pink noise test tone $(X)$ from a speaker and record the tone on all $k$ target microphones. Let's call the outputs as $Y_{i}$. Compute the inverse p...
What is the best frequency estimation algorithm for two closely spaced frequencies in term of the minimum frequency spacing achieved?
If anyone has a copy of this book could you please shed some light here: I was trying to reproduce the example shown in Chapter 5, section 5.3.1 Window Design Method's Figure 5-19 which illustrates the ripples in the frequency domain in octave. Just as the book suggested, when you have any dropped tap in time domain, y...
When signal is received how can receiver know which part of received signal is signal and which part is noise??
If we consider the closing operation of an image, we first dilate the image and then erode it. So, first we expand the foreground (white pixels) and and then we take away some part of the foreground. The result of this particular operation is similar to dilation, but less destructive of the original shape boundary. Ho...
What is the output of the convolution meaning which is used in the FIR filter? how can conclude the output of the FIR filter in the output according to the input $x[n]$?
I have collected some noise data from a dimly lit CMOS image sensor. The distribution of pixel values is tallied below:- I'd like to be able to simulate this sensor noise. How would I fit a statistical distribution to this bell curvish graph? And which distribution? Bear in mind that the distribution is discrete. F...
IIR filters can be designed using different methods,such as: Analog Prototyping Direct Design Generalized Butterworth Design Parametric Modeling https://www.mathworks.com/help/signal/ug/iir-filter-design.html?lang=en#brbq5qb There is other technique named Model order Reduction , it used for reduce model order while ...
I know we can use window function to decrease leakage phenomenon by making the end of a non-periodic signal to be zero at both end, so that to make it like "continuous and periodic" when doing fft. However, when we multiply window function with original signal (ex: w(t)xs(t)), it's like doing convolution (w(f)*s(f)) in...
I am using this link to study Generalized Hough Transform. I will explain it briefly. In order to detect a shape, an R-table is created for the shape with $\phi$ indicating gradient orientation for points on the edge of the shape. Then $(r, \beta)$ is used to indicate the vector from each of these points to the centroi...
I have the the following non-linear function, $$s(x;A_k,\mu_k,\sigma_k)=\sum_{k=1}^2 A_k \exp\left(\frac{-(x-\mu_k)^2}{\sigma_k^2}\right)$$ with unknown (but deterministic) parameters $A_k,\mu_k,\sigma_k$. The received signal is as follows: $$r(x;A_k,\mu_k,\sigma_k)=t\cdot s(x;A_k,\mu_k,\sigma_k)+n(x)$$ where $n$ is s...
I'm starting to learn about automatic process control, and there are types of signals transmitted in a control system. Among that is pneumatic signal that is a pressure signal. But I still don't know what a pressure signal means? How does it work? If you could give me a simple reference to learn more about signals(not ...
I am interested in Software Defined Radio communications where almost all processing is pushed to the digital domain. I'm wondering why is channel estimation done after frequency and phase synchronization? Shouldn't channel estimation be done before to take into account multi-path and other effects? Why can't channel e...
I learned that the time constant can be computed as $\frac{1}{2 \pi f_0}$, where $f_0$ is the half-power cutoff frequency of a high-pass filter. However, I was wondering how the time constant and the half-power cutoff frequency can be related. For example, if the half-power cutoff frequency is 2 Hz, why must the time c...
I have a rather strange but i thin interesting question. The idea is to gain a better understanding of sampling rate vs frequency shifting when playing audio. The idea is a little experiment: %synthetic example T=1/(10*10^6);%period should be at least 1/(2*10^6Hz) => Nyquist freq if we want to be able to reproduce 10...
1- According to the below paragraph : Could someone explain, What mean M here? I mean when saying with Order M ? 2- On the other hand, When performing Fractional sampling, for example sampling with rate Ts/G (Ts is the sampling rate used at transmitter, and G the oversampling facto), we are expecting to get a disc...
In Mengyu Liu, Yuan Liu, "Charge-then-Forward: Wireless Powered Communication for Multiuser Relay Networks", it is said that while information signals are conveyed by using FDMA over $N$ sub-carriers (SCs) in the next phase of WIT(wireless information transmission). For information transmission, we define a binary ...
Do you know of effective and simple methods to compensate for Doppler due to movement for the CDMA protocol?
As I am newbie to signals, I have collected an appliance signal in frequency domain as follows: (PSD- Power Spectral Density). So, I need to calculate the SNR (Signal to Noise Ratio) and BER (Bit Error Rate) caused by this signal in Powerline Calculation. So, I have made these codes in Matlab, but what I am stuck wit...
I'm trying to study and understand the OFDM, and during coding the OFDM in MATLAB, I faced this issue: suppose we have the Numsymbol = 256, and dataqpsk our used data, The issue which I face that when I perform iFFT block by block, that seems to be ok, but when trying to make it N-by-N .. that gives a problem. here i...
To calculate images similarity based on Mutual Information (MI), histogram and join histogram is required. In the literature, there are 2 contradict opinions about MI operation. 1. MI does not utilize image spatial information to calculate the similarity. 2. MI is embedded spatial information indirectly by joint histog...
I want to design a FIR filter by using 'cfirpm' function , which can i use the group delay and grid frequency, my code is : N=30 ; f=[linspace(-1,-.5,120),linspace(-0.4,0.7,60),linspace(0.8,1,90)]; d=[zeros(1,120),ones(1,60),zeros(1,90)].*exp(-j*pi*f*N-1/2); b=cfirpm(N,d,@lowpass); fvtool(b,1,'OverlayedAnalysis','phas...
Actually I need to filter a raw ECG signal using low pass Butterworth filter at 70 hertz. And j need to implement the Butterworth filter first for that. Please any help since I'm very new to this MATLAB. Thanks
Basic Signal Operations Performed on dependent variables-- The periodicity of the signal is varied by modifying the horizontal axis values, while the amplitude or the strength remains constant. These are:- Time scaling of signals Reflection of signals Time-shifting of signals. Is there a specific preferred order in whi...
Here is the processing of calculating the BER average \begin{align} P_e &=\int^\infty_0Q(\sqrt{2uSNR})e^{-u}du \\ & =\frac{1}{\sqrt{2\pi}}\int^{\infty}_0\int^\infty_{\sqrt{2uSNR}}e^{-\frac{t^2}{2}}e^{-u}dtdu \\ & =\frac{1}{\sqrt{2\pi}}\int^{\infty}_0\int^\frac{t^2}{2SNR}_{0}e^{-\frac{t^2}{2}}e^{-u}dtdu \\ & =\frac{1}{...
I have generated a radio packet of data with a preamble header of 0x55555555 and crc32 for the data only. The entire packet was separated in even and odd streams for I and Q. The I and Q were oversampled by a factor of 10. The I and the Q were modulated into BPSK then then the I & Q were combined and mixed with the car...
Having taken some courses in Systems and Stability dealing mostly with continuous time signals, I am accustomed to thinking about the Laplace and Fourier transforms dealing with complex and pure imaginary signals respectively. For example, if I transformed $x(t)$ and evaluated its magnitude and phase at 0.5+0.5j, I wou...
When I do the Fourier transform of the Dirac impulse I get a pure sinusoid (or complex exponential, however you wanna call it) but I read in several places that all frequencies are present in the dirac impulse and all of them with the same amplitude. How is this possible? Am I wrong when I perform the transform?
I am running a BPSK flowgraph in GNU Radio which is based on RRC pulse shape. I noticed that the BER is quite poor when the number of taps is low. However, using the number of taps around $20\times Samples\_Per\_Symbol$ result in performance close to theory. I found the above number through trial and error and I was wo...
I'm working on a power systems where I have 2 linearized transfer functions. The first transfer function corresponds to the no-load case and the second transfer function corresponds to the full-load case. I was wondering if there are metrics to compare 2 transfer functions, for example how similar are their respective ...
I am currently trying to evaluate a high resolution ADC for which I need to window my output data for the FFT. Up until now I have been using the default 4 term Blackman harris window in MATLAB. However, I came across a few app notes that recommend using a seven term Blackman Harris for the SNR ranges that I am interes...
I have one doubt according to modulation of a real signal. there are so many examples where the real signal was modulated with frequency bigger then 0. Why the signal could not be putted in f=0? is there connection with a sending power? ( Antenna send bandpass signal $\rightarrow$ signal is matched $\rightarrow$antenna...
To generate I & Q samples from data samples S I = S(1:2:length(S)-1) * cos(2*pi*f*t) ; Q = S(2:2:length(S) ) * sin(2*pi*f*t) ; I & Q to integer arithmetic I = I * (2^16) ; Q = Q * (2^16) ; I Q combined y = bitshiftleft(Q, 16) ; y = bitor(y, I); and mixed with carrier fc y = y * cos(2*pi*fc*t) ; To recover the I &...
Given is a baseband signal representation. A : Complex Signal R : Real Signal If I multiply baseband signal with FT(cos) then the signal will look like first plot on the left. For this case, convolution changes nothing. I shift the signal in frequency but my passband signal is still complex-valued, so it cannot be ...
In digital image forensic, it is assumed that the histogram of DCT coefficients of the un-compressed natural image has the smooth histogram. However, the histogram of DCT coefficients of the compressed natural image has peaks and gap in it. One such problem is discussed in this work. see this image for a better underst...
I'm currently simulating the effect of multitap channel on BPSK as well as its remedy i.e. equalization. The modem is expected to work with satellite TT&C transponder. The communication channel is fixed line-of-sight and can be safely regarded as non-fading. Typically, satellite TT&C doesn't employ the use of a pilot s...
I try to understand the 'arbitrary' what does it meant? I had read many references ,such a one it is 'begin the process with a transfer function of your choice' ,in other reference :related by the starting point, In other hand i read about Chebyshev approximation with arbitrary magnitude, how can i find the better desi...
I am studying the OFDM system and before to start I have decided to study the main concepts of modulation. And I have spent yet a lot of time to understand the concept of an equalization to reduce ISI. I have found so many lectures and ppts, which provide and explain that. But it doesn't make sense for me. What I under...
I have 3 orthogonal signals obtained by Fourier transformation. But when I do the inverse Fourier transform in Matlab, my signals are no longer orthogonal in the time domain. Here is my question: How to keep the orthogonality of signals in the time domain?
I would like to approximate a moving average filter with an IIR filter of much lower order than the tap-length of the moving average filter. Optimality shall refer to the $L_2$ norm of the impulse response (up to changes in the total gain). Ideally, I'd also like to constrain the impulse response to be monotonic (i.e. ...
I have a periodic signal $x[m], m \in [0;M-N+1]$ made of modulated templates $s[n],~ n \in [0;N-1],~ N \ll M = NK$ of finite energy and support (i.e. zero outside of its defined interval, which does not extend to infinity). For simplicity, we write thus $$ x[m] = \sum_{k=1}^{K}A_{k}s[m-n_{k}] + w[m] $$ with $n_{k}$ the...
The figure is the FDMA,and i know that FDMA is that dividing the bandwidth into many blocks(frequency band),i want to ask Is there just a carrier in each frequency band in FDMA?i mean one carrier for User1 ,one carrier for User2,and one carrier for User3,and so on.Or for the user N,there are lots of carrier in it,if i...
Is it accurate to say in digital audio that, when a fader is down, then its value is "-$\infty$"? What has confused me is, whether it's really $-\infty$ or some lower bound of the amplitude. it could be that the $-\infty$ is just a "joke" by the developers and it doesn't have mathematical validity.
Sorry that I created a new question about OFDM, but I donät have enough reputation to comment on other questions. I have read all the topics here and I have some doubts. 1) I found in the book that If a system has a low symbol rate then --> negligible ISI. Why? I have thought about it. Maybe because of that the system...
The problem I'm working on is signal detection of a radar signal, but I suspect this problem shows up in many different branches of signal processing. Background: From [1], the factor $I_f$, by which the SIR is improved by an MTI filter (just an FIR filter for non radar people), is given by: $$ I_f = \frac{\mathbf{w}^...
From my studying difference equations and transfer functions, I understand that when a complex exponential input $x[n]=z_1^n$ is applied to an LTI system with transfer function $H(z)$, determining the output involves evaluating the transfer function at $z=z_1$, i.e. $H(z_1)$ which is a complex quantity that simply scal...
I need to oversample a received signal in OFDM by MATLAB, according to the below diagram, but when I oversample, I finally get the same number of samples however that should be double. !! The oversampling should be done after receiving the signal, .. as below Could you please explain how can I do that resampling in M...
I'm struggling to filter some data from an accelerometer. I need to do it in python (and not just on the device collecting the data) to fix the data I have, so that I can build some classification algorithm I have the following data on ROLL from an accelerometer (1st graph). I tried the following: transform the outlie...
I'm working on a custom video codec which uses the standard mean squared error to find blocks. As explained by this youtube video you choose a search area size to find a block in. Each pixel of the search area is turned into a block, and then the search block is compared to the master block. These difference for each p...
I have a receiver which receives several signals. The different signals are summed to the receiver. How can we find a signal in this sum? I know we can use PN (pseudo-random noise) codes but I do not want to do that. I am looking for a method that does not change the size of the transmitter signals.
Band-edge (derivative matched) filters can be used to generate an error signal for frequency locked loops (real part) or symbol timing loops (imaginary part). The derivation of the band-edge filters themselves is shown (from Fred Harris presentation) The derivation of the band-edge filters for the FLL block in GNU Rad...
Could you please explain the step below, what is the benefit of it and how does it work. . I do qpsk demodulation, do I started doing the meshgrid, %%%%%%%de-qpsk sM = 2; [x,y] = meshgrid((-sM+1):2:(sM-1),(-sM+1):2:(sM-1)); alphabet = x(:) + 1i*y(:); datadeqpsk=[]; for k=1:N da...
I have recordings from accelerometers (non-flat response with respect to frequency) and I'd like to convert my voltage time series into acceleration values. Is there a standard method for doing this? My proposal to achieve this is: Break the signal into equally spaced segments overlapping with 50%. Apply a fft (with ...
I am trying to program this function: $ g(t)= \operatorname{rect}(t/T) \,f(t)$ I take: $t=0:1:20$ and I know how to program $f(t)$. But I have a problem with the rectangular function. How to program this function in matlab?
According to Nyquist, to transmit R symbols/sec without ISI, the minimum bandwidth required is R/2 Hz, and the sinc pulse shape satisfies this condition. If we use equalizers instead of pulse shaping, do we need to keep this condition ( minimum R/2 Hz to transmit R symbols/sec)? If we use equalizers, should the total...
I need to generate a sine signal using a DAC with a certain THD specification, say 0.1% @ 1KHz. As a first approach I’m considering it to be an ideal DAC along with an ideal LPF for aliasing removal in order to define the minimal resolution in bits so I could achieve the desired THD. To optimize the quality consider I’...
I have a discrete-time system which can be described as: $$ Y_m = \sum_{r=-N_g}^{R-1+N_g} c_r x[R(m-1) + r] $$ The unknowns are $c_k$ but I know that they have the following approximate behavior: $$ c_r \approx \cases{1 \quad 0 \leq r < R \\ 0 \quad \mathrm{else}} $$ From this, one may recognize that this is nothing mo...
I have been trying to find out how can the discrete wavelet transform (DWT) be possible to reduce dimension of data. Then I saw the question which is seemingly related to my work: Feature extraction/reduction using DWT But after seeing the post, I have a question in my mind. Is it possible to say that setting DWT coe...
My understanding is that a PLL(either in hardware or software) can recover the carrier frequency(or be used to correct the frequency offset) of a system. My question is how does this work when the transmitter is sending a pulse-shaped signal? For a an approximate sinusoid the operation of the PLL makes sense but how d...
I found many information in this thesis "Algorithms for the Constrained Design of Digital Filters with Arbitrary Magnitude and Phase Responses",i want to understand it. This question is a continuation of a previous question(Complex Least Squares Approximation). in Matt L's answer $$H(e^{j\omega})=\sum_{n=0}^{N-1}h[n]e^...
For the adaptive filter to work properly, a desired signal d(n) needs to be provided. The output from the equalizer y(n) is subtracted from d(n) to produce an error signal, which is used to adjust the filter weights. The adaptive filter is located on the receiver side, so how to obtain the desired signal, and use it a...
I have a 16bit SAR ADC sampling at 6.4kHz. The Anti-Aliasing Filter is a active 4th order Bessel lowpass (2x LTC6081) with -3dB at 200Hz and -80dB at 3.2kHz. Now I want to decimate these 6.4kHz to 100Hz. The uC is a 8bit RISC (Atmel AVR) running at 20Mhz. My first idea was multiple digital bessel biquad filters and dow...
As per the attached image above, I don't know how the equation in the first line transformed to the form in second line. I tried solving it by multiplication but the result was different.
When I import an image from Matlab I get the following jumbled image rather than the (224x224x3 RGB) image of a single elephant I expected I write the image from Matlab as a binary file function save_bin(filename, input_image) r = input_image(:,:,1); % dump image for input to python g = input_image(:,:,2); b ...
There are already questions on this topic here and here. I am trying to calculate the ifft using a DSP that only has a library function for a forward REAL (assumes conjugate symmetry) fft. For a given a signal of length N, the output of the FFT process is length N interleaved real/complex values, where the real part of...
Can I tell that different versions of the same video are correlated to each other? and if so, how can I show this correlation? for example, high-quality and poor-quality versions of the same video. Can we say various episodes of the same tv series are correlated since they mostly share the same background, characters...
I'm trying to simulate two frequency-domain signals with a desired coherence, and I'd like to check if my idea is right. To simulate two time-domain signals with a desired correlation, we can use the following method: Suppose $\Sigma$ is the desired correlation. Let $X \sim N(0,1)$. Then if we take $X_1 = \Sigma^{1/2}...
The Book "Digital Modulation Techniques" by Fuqin Xiong groups digital modulation schemes into two classes: "constant envelope" and "nonconstant envelope." However, I was surprised by the inclusion of PSK in the "constant envelope" category. This includes BPSK and QPSK, which are equivalent to PAM and 4-QAM. This do...
Lets say you have a signal which is sampled at rate $f_s$ and the bandwidth after sampling is $B$. Now you want to decimate this signal with a new sample rate $f_{s, new}$ where $f_{s, new} < f_s$ and you also are only interested in preserving bandwidth $B'$ where $B' < B$. Also $f_{s, new}$ > $2B$' and $f_{s, new}$ < ...
I'm asking about the difference about channel shortening and time-domain equalization. I have checked on-line and tried to get something clear but I couldn't. What I found is that channel shortening means almost "Calculating the coefficients for DFE equalizer" But I couldn't also imagine that. Could you please expla...
I have a vector with an exponential decay, using Numpy: t=np.arange(128) k=0.1 decay=np.exp(-k*t) I would like to compute the discrete Fourier transform (DFT) of decay so I get the same result as applying np.fft.rfft(decay, n=128*2). I tried the formula described here plus some similar ones (without square terms in th...
I am evaluating FFTs algorithms radix-2/4 and split radix. (although this talk can be applied to any algorithm). Each of them has a certain amount of complex additions and multiplications. That can also be expressed in terms of real operations, but that does not solve the problem: in the end I have apples and pears and...
This is my first study about signal analysing. I'm very confused about filter order. My problem is how can I know whether its 12-th order, or 2nd order like the book says so? I already knew that slope has 2 choises whether its in n multiples of -6n dB/oct or -20n dB/dec. If the slope is -20 dB/dec then the second order...
I have a real function $C$ of a complex vector $x$. While taking the gradient of the function $C$ for minimising the same, why do we take the derivatives with respect to the complex conjugate of $x$, i.e. $\bar{x}$ and not the actual vector $x$? I have tried looking up for help but I am directed again and again to Cau...
Constant False Alarm Rate (CFAR) is an automatic thresholding technique. It's situated after the FFT processing in other to detect target peak. This probability of detection depends on clutter and noise level. In automotive RADAR, there are many other issues, like multi-path and interference. My questions are: Is CFAR ...
I understand that cell phones transmit speech signals in digital form through 2G/3G or other standards. But I could not find anything about the signal processing method lying in between the analog signals captured by the microphone and the final digital signal (which I think is not the complete speech signal but a redu...
Suppose I use the ideal lowpass filter eq to attempt creating a IIR filter using it : $$ h[n] = \frac{\sin(\omega_c \, n)}{\pi \, n}, \qquad -\infty < n < \infty $$ Obviously, I can't really (unless I'm wrong) realize a filter with this impulse response because I don't have the finite difference equation to make the re...
Given a signal $x[n] = A + w[n]$ where $A$ is a Gaussian random variable and $w[n]$ is Gaussian white noise, then the covariance matrix of the signal is given by $[C(\sigma^2_A)]_{ij}=E[x[i-1]x[j-1]]=E[(A+w[i-1])(A+w[j-1])]$. I understand this definition, but where does the reduced expression $=\sigma^2_A+\sigma^2\de...
I'm kind of out of my element here trying to understand this algorithm and I wanted to see if this is a FIR algorithm or not? If this isn't the right place to ask this, can someone point me to a place? The reason I ask is because this code is not well commented and not defined anywhere and I'm relatively new to this pr...
I am trying to understand a subtle (sorry if this is obvious) difference in the computed output power after a DDC process. Here is the story: Suppose I generated a 10 MHz signal from a microwave source at -10 dBm and feed it to the a digitizer. This corresponds to a peak-to-peak voltage of 200 mV as measured by an osci...
this is my first post here and I am also new in signal processing. Let's say I have a hydrophone with amplifier which is connected to a sound card plugged in to a computer. I gather the sounds to a WAV file every 3 seconds and analyze each file in a Python program. The system is supposed to detect loud events which are...
I have data that'ss not too noisy and I am trying to detect a pattern where it gradually increases then decreases in a short period of time (20 ticks? it should be roughly similar per session but can vary slightly between different sessions). This pattern usually happens in pairs but not always. So looking at the top ...
Is there a simple to follow explanation of how to do second order motion compensation for range migration algorithm? The one described in Carrara et al is for the ideal case. For the Extended Omega K algorithm, how does one relate the deviation in platform position to the amount of phase compensation to apply in terms ...
I have raw values that are coming directly from a sensor (on the fly). These values are coming from a wearable sensor installed on a cows neck. When the cow ruminates (meaning that it chews food that brought back from the 2nd stomach of it), generates some kind of acceleration values that have some kind of specific amp...
In case of using equalizers with ZigBee systems, what type of fading does the channel show, flat or frequency selective, fast or slow? Is the inter-symbol interference (ISI) problem encountered in ZigBee systems? I am asking this question because I konw that ZigBee Systems transmit data at low rate (250 kb/sec), and ...
Convolution in the time domain is the same as multiplication in the frequency domain. My data is sampled at 200 Hz, which means that the Nyquist frequency is 100 Hz, and all frequency content is <= 100 Hz. If I take a rectangle function in the time domain, with 1s everywhere below 100 Hz, FFT it, and convolve my data w...
Where to learn about "analog prototype filters"? I've heard about them, but I'm unsure about what they really are and how they're constructed.
Question 1 $$ H(e^{j\omega})=\sum_{n=0}^{N-1}h[n]e^{-jn\omega} =\mathbf{c}^H(\omega)\cdot \mathbf{h} \tag{1} $$ $$ =\mathbf{h}^H\cdot\mathbf{c}(\omega) \tag{2} $$ $$H(\mathbf{h})=\sum_{k=1}^Kh[k]e^{j\omega_k}\tag{3}$$ The design of filter in matlab ,if using: $-$$(1)$ and $(3)$ the length of filter is $K$. $-$$(2)$ th...
Gain: 20 log (Vout/Vin) with Vin = 1.0. I've been searching for gain values: a. -156.48 dB b. -80 dB c. -53.98 dB d. -13.98 dB e. 3.52 dB f. 10.32 dB g. 13 dB h. 13.93 dB i. 13.96 dB j. 13.98 dB I am still at the very start on this semester to learn about matlab. How to make semilogx to get a plot gain against log fre...
I just start learning about matlab. Im very confuse with this. Can anyone gives me such an example solution or any kind of help? HINT: Put the desired input frequencies in an array and use a for-loop to generate the input sine waves. Store the maximum values of the fIlter’s output in an array for plotting. Plot the 20 ...
I am trying to emulate a satellite link where the delay time between the satellite and ground station changes over time due to the satellite's motion. I plan do this by converting to the frequency domain via FFT, multiplying it by $e^{-2\pi \omega_{delay} }$, and converting back to the time domain via IFFT. However, wh...
To test the python spectrogram (from scipy.signal) , I've created a signal with 2 harmonics: 2 Hz and 8 Hz. Then I've added 50Hz noise and a trend (https://i.stack.imgur.com/XePzK.png). I wanted to retrieve those frequencies with spectrogram. I only find 10 Hz and about 50 Hz with the noised signal (https://i.stack.img...
I am new to VoIP apps and am learning about the various audio processing that are applied in such apps. I have looked at Linphone and CSipSimple apps for Android. I notice that they employ different set of audio processing like echo cancellation, equalization, compression etc. My questions: How would a VoIP app devel...
Thanks to previous question, I got some clues to resolve this one. But, I still get some problems here. Ts = .001; N = 1000; t = (0:999)*Ts; make_an_array = [2 10 15 20 30 40 50 60 80 90 100 150 200 300 400]; f = make_an_array; for i=1:length(t) input(i)=sin(2*pi*f(1)*t(i)); end [...
I've implemented Goertzel algorithm according to the Wikipedia page (https://en.wikipedia.org/wiki/Goertzel_algorithm) and another page (http://www.mstarlabs.com/dsp/goertzel/goertzel.html), which are consistent with each other. I am then testing it using a naive implementation for a single DFT frequency (https://en.wi...
I have a signal $x(t)$ which is composed of multi delayed linear chirps with different amplitudes and phases but they share the same $w$ and $\alpha$, the signal can be expressed as follows: $$\DeclareMathOperator{\rect}{\mathrm{rect}} x(t) =\sum_{i} a_i \cos\left(\omega t+\frac{\alpha}{2} t^2 +\phi_i\right) \times \...
I need to design a matrix for compressive imaging where each row represents an $N$-pixel filter in a focal plane through which light is masked, summed, and measured (think of Rice's single-pixel camera). The requirements are the following. There is cost associated with switching elements of the mask. Thus, the desire ...