instruction
stringlengths
31
27k
I use CWT coefficients as features in ML algorithms and then I did the feature selection using the chi-square test but recently I figured out that the chi-square test can only be applied for categorical variables. But, can we assume the CWT matrix values as categorical features and then apply the test?
I have a number of signals that are periodic. I use an fft transformation to obtain the dominant frequency of each signal. In order to increase the frequency resolution I zero pad the signal before the fft. However I noticed that when the frequency is low, the peak of the fft corresponds to the first harmonic. A sample...
So, I've been dealing with a series of pressure decay curves from a pressure transducer. Each one has a waterhammer effect as a consequence of shutting down pumps. Here are examples of 3 curves: I'm using the scipy's signal.irr to obtain the coefficients and signal.filtfilt for filtering. Here are my parameters: #fi...
I am trying to compute a compression filter function to minimize the error from a a desired pulse compression result. The usual approach to doing this is to minimize the RMS error of the the compressed signal while it's represented in linear terms (i.e., in volts). This method handles complex signals and pulse compress...
I have a transfer function coefficients as following: [b,a] = ellip(4,.2,40,[.41 .47]); I'd like to factor this system into its PFE using [r,p,k] = residue(b,a). Then, I'd like to implement a filter which uses a parallel combination of second-order subsections. To do this, I need to combine each complex pole with its c...
I used Python/scipy to create an input data (sinewave with frequencies {600,1200,1800,2400,...,9000}) and sampling at 10000Hz. A lowpass filter is created using butter(10, 4000/(10000/2), 10000, btype='low'). After filtering the filter using lfilter function, I plotted the FFT of the input data the filtered data, I fou...
I want to subsample a multi-band signal to introduce controlled aliasing. My frequency components are uniformly distributed across the spectrum (comb structure) and occupy a relatively narrow bandwidth each. The spectrum can be said to be sparse. I achieve decimation through picking every $n$-th sample from the origina...
I have implemented FIR filter using tapped delay line method. I start getting output as soon as first input sample is passed to it, I am wondering from which sample I will get the proper output(without transient outputs) from filter. Does it depend on location of highest magnitude tap or it's just dependent on the leng...
I am trying to simulate an M-PSK Tx-Rx System on Simulink and analyse what the effect of sampling rate reduction would have on it. More, particular I am trying to prove what Nyquist sampling theorem states that the sampling frequency should be twice the maximum frequency component. The communication chain is as follows...
I'm implementing the Voss-McCartney pink noise generation algorithm. If you follow the link above, you can read: from James McCartney 2 Sep 1999 21:00:30 -0600: The top end of the spectrum wasn't as good. The cascade of sin(x)/x shapes that I predicted in my other post was quite obvious. Ripple was only abo...
I've implemented a pink noise generator for audio applications. How can I measure how close of an ideal pink noise is my output? I do not have access to Matlab or Mathematica. I would prefer a solution involving open-source software such as GNU Octave or SciPy. Related to my previous question: Understanding Voss-McCar...
I have two signals from two different sensors. I cropped the area i am interested in from both sensor signals. The problem is that the signals start at different time instants. I am searching for a way to align the signals just like below. It is technically just moving the blue signal to align with orange one. I tried ...
Suppose you have an LTI system for which the (complex) frequency response $H(j\omega)$ has been measured in some frequency window $[\omega_1,\omega_2]$. Now imagine that you want to provide an input $x(t)$ to this system, such that the output is a specific, known waveform $y(t)$ that has negligible frequency content ou...
An important concept in dsp is marginal stability where we often see the term" repeated roots " or "repeated poles "? What are they? Does the term repeated means that two or more poles occur at exactly same coordinates? Please kindly give answer along with examples for both s domain and z domain?
While searching resources for generating pink noise (and with your help in the comments and answers of other questions), I came to such kind of formula: $$ H(z) = { .041 - .096z^{-1} + .051z^{-2} - .004z^{-3} \over{} -2.495z^{-1} + 2.017z^{-2} - .522z^{-3}} $$ (from https://dsp.stackexchange.com/a/376/46389) What i...
Are all the images that we encounter/use in image processing are 2D or do we also have 3D images? If also 3D, then Video will be treated as a 2D image or 3D image?
I need to transform this Laplace function to the z-domain: From the answer I received: $s=(1-z^{−1})/T$ Then substitution into my Laplace function would give: $t(z) = 2R/(m*(1-z^{−1})/T + 2R)$ Is that it? Then $z$ is the input signal's current sample? Is $z^{-1}$ is the input signal delayed by one sample? ie. Is it: o...
I have some problems in understanding the precise meaning of the Asymptotic Equipartition Property, related to a large number n of independent and identically distributed random variables (X1, X2, ..., Xn). Here an example is shown (here you may find the complete material): I do not understand the precise difference...
I have an audio application that produces an arbitrary length signal by repeatedly looping over a single-period waveform. In pseudo-code: // Build a single period of a waveform at the given frequency samples_per_waveform = int(sampling_rate / frequency) waveform = make_sin_waveform(samples_per_waveform) ... // Repeat...
I have one audio file containing human speeches, a lot of ambient noises like audience laughter, birds chirping, sounds of natures etc.. Now I want to separate it into two audio files where one should contain all human vocals and other should contain all ambient noises like audience laughter, birds chirping, sounds of ...
How can we justify doing coherent radar when the phase of the return is unknown? For instance, after a reflection, assuming a stationary target, we should get something akin to: $$ x_{rx}(t) = |\alpha| e^{\angle\alpha} x_{tx}(t) = |\alpha| e^{j 2 \pi f_{tx} t + \phi_{tx} + \angle \alpha} $$ however $\alpha$ is general...
I am solving a very long problem and one part of it requires me solving an ODE and computing FFT of the resultant data. Essentially I have a differential equation$\frac{dz}{dt}$ for velocity, from which I can derive the acceleration equation. I can then solve the ODE and input the values in the acceleration equation an...
I am trying to compute cepstrum of a signal x An implementation of this in python is: x_fft = np.fft.fft(x) cepstrum = np.real(np.fft.ifft(np.log(abs(x_fft)))) cepstrum = cepstrum[0:len(audio_signal_frame) // 2] # cepstrum_db = 10 * np.log10(cepstrum ** 2) I wanted to zero pad x to hamming number length before the ce...
I try to analyze a system's state with acceleration sensors by measuring the frequencies and amplitudes. Since a cheap sensor is used, I have a noisy signal in the beginning (up to 40Hz - see below). That is the first thing that I don't get. With another sensor (much higher resolution but also different position) this ...
I am an FPGA engineer with some DSP experience, facing the situation of implementing a 1023 points FFT in a spread spectrum demodulator. As a straightforward solution, I would zero pad to 1024 and use an IP. But I have been given the task to optimize the design : the key parameter here is area, since the sample rate is...
I have a seam of two photos joined by a seam alignment algorithm that on occasion generates duplicated pixels/objects/artifacts on both sides of the seam in the final, aligned photo. The images are large and currently the seams are checked manually for duplicate artifacts/objects. Is there an algorithm/software/program...
I need to downsample a single period waveform from $M$ samples to $L$ samples. If that matters, in my particular case, $L=M-1$. I read about downsampling and came to the conclusion I need: expand the original waveform by a factor $L$ (some other source call the step “zero stuffing”), interpolate the missing samples, ...
In a previous answer, Dan Boschen wrote (emphasis mine): First let me explain the "unfolded" digital spectrum: If you allow the frequency axis of the sampled signal to extend to $\pm \infty$, instead of limiting to the unique digital frequency range of $\pm > F_s/2$ (where $F_s$ is the sampling rate), you will se...
I recently had to deal with a power electronic system where I had to implement a dynamic model of a power converter in order to design a suitable controller for that converter. The control will be implemented on a DSP which reads in the digitize values (voltages and currents) from some ADCs. The plant itself consists o...
I'm studying on designing 9-tap zero forcing equalizer to remove ISI in the channel. I assumed that the channel response is $h[n] = [0.41, 0.815, 0.41]$ and I tried to calculate bit error rate. When I choose $h[n]=[0.21, 0.815, 0.21]$ for example, I get good results. BER goes to 1e-4 for high SNR values. But the code b...
Let a signal be a random process.Given the mean and variance what is the average power of the signal.
i tried to implement this research paper using MATLAB. Unfortunately, my result is not same with the original result. Here is my try step by step: histogram_of_image = imhist(input_image); a = uint8(2); %according to research paper beta = uint8(2); %according to research paper for i=1:256 modified_histogram(i) = (...
Assume that we have two discrete-time signals named x[n] with fundamental period 3 and fourier coefficients ak (k from 1 to 3), and y[n] with fundamental period 5 and fourier coefficients bk (k from 1 to 5). Now we want to calculate fourier coefficients for z[n] which is defined as below: z[n]=x[n]+y[n] How should we d...
For example, a EKG input signal is filtered with a known transfer function that does not have linear phase. How do you quantify the phase distortion of the output signal given you have the input? I know that the phase response of the transfer function gives the phase delay at all frequencies but I'm not sure how to ma...
The problem I'm trying to solve is described here. In my script, I used Euler's identity to calculate z^-n, such that z^-n = cos(omegan) - jsin(omegan). I find the magnitude of these values from a range of 0 to pi, and then plot them. However, the resulting graph aperiodically oscillates between 0 and ~ -8 dB, and I'm ...
I'm working on an interference cancellation problem where interfering signals are two linear FM chirps of different slopes and the data signal is a spread spectrum signal. I wanted to know how does the length of the filter affect the convergence ?
I want to use high pass filter to filter frequency less than 100Hz. I use this code in python. def butter_highpass(lowcut, fs, order=9): nyq = 0.5 * fs low = lowcut / nyq b, a = butter(order, low, btype='high', analog = False) return b, a def butter_highpass_filter(data, lowcut, fs, order=9): b, a = butter_highpass(l...
$h(t)$ is the inputted to convolve the $x(t)$ The signal written in unit step are: $x(t) = (5-t)u(t-3) - (5-t)u(t-5)$ $h(t) = 2u(t-1) - 2u(t-3)$ So to convolve I first change the function to: $h(t-\tau$$) = 2u(t-\tau$$-1) - 2u(t-\tau$$-3)$ The problem however is the signal I get after integrating the product of $x(\ta...
I'm stuck at exercise 1.18 in Understanding Digital Signal Processing by Richard G. Lyons: There is an often-used process in DSP called decimation, and in that process we retain some samples of an $x(n)$ input sequence and discard other $x(n)$ samples. Decimation by a factor of two can be described algebraically by ...
I was wondering what is the practical difference between Lagrange Interpolation using Farrow Structure and Sinc Interpolation? Both require pre-computation of time offset coefficients using a lookup table. Is the length of filter required for a certain degree of accuracy less for one over the other? How do they compar...
I am supposed to do this as a school project, but I am kind of lost when it comes to signals and would appreciate your help. Also, English is not my first language, and I will be translating the assignment mostly literally, as I am not familiar with a lot of terms used in signal processing, so pardon me for any mistran...
Can we really use equal gain combining(EGC) in the receiver in the real world? Because we have to know the phase of elements in the channel matrix first before we do the EGC,however,the channel should be randomly generated every second,so I wonder that if we can do EGC in the real world or not? Or we can do the EGC,bu...
A DSP text gives an example of an ideal mass striking an ideal string here: This is drawn as an equivalent electrical circuit as follows, where each R represents one of the two string segments the mass interacts with (ie. the string segment to the left of the mass and the string segment to the right): A piano hammer ...
I am trying to understand the model of a piano hammer described here. The relevant excerpt is: As I understand it, they are saying in (12a) that if the hammer spring's uncompressed end's y position is greater than the string's y position, then the force of the hammer/spring will be: $F = Kh(yh(t) - ys(t))^{Ph}$ (12b)...
I am stuck on a question regarding transfer functions. I have the answer and have attempted the question but am having trouble solving it. Q: Given the transfer function of a digital filter is (5z-5)/z, compute the gain (in dB) of the digital filter at the cutoff frequency (10 rad/s) The answer given is 14.65dB. (or a ...
An ideal Hilbert Transformer shifts the phase for all positive frequencies by $-\pi/2$ and all negative frequencies by $+\pi/2$ while maintaining constant magnitude everywhere. Group Delay is the negative derivative of phase with respect to frequency, so apart from the discontinuity at frequency $\omega=0$ the group de...
We have one DSP course in biomedical engineering, so i have been for 10 years away from mathematical calculation and working in this years by programing by c and ..., so one of our exercise is to calculating the IDTFT of some signals like this from this eBook "Digital Signal Processing Using MATLAB 3rd Edition": Using...
I apologize if the post is incorrect. I'm a sophomore student studying Electrical engineering. As a part of an introductory course on signal and linear systems, I'm required to learn Fourier and Laplace Transformation. But the problem is I don't understand the concept of 'convergence' and it's really bugging me. It p...
What non-data0aided techniques are used to estimate the timing for multi-level QAM? For single level QAM(so 4 QAM) you can use variance minimization or power maximization but I'm not sure these techniques carry over to multi-level transmission models. For example the variance minimization technique would need substanti...
How do you implement Direct Sequence Spread Spectrum (DSSS) to synchronize the spreading rate with the symbol rate when there is a non-integer but rational relationship between the two?
I have obtained the fourier transform of a signal with following graph My question (though might be too junior for the professionals in signal processing field) is: how can we extract the period of 30 from the fourier transform mag graph? The source code is Fs = 1; Ts = 1/Fs; dt = 0:Ts:30*4-Ts; y1 = [ 100 ; zeros(...
I have a MIMO system using Space-time coding. I am required to produce simulation results in the form $\text{PEP}=f(\text{SNR})$, meaning a curve representing the Pairwise Error Probability (PEP) for each SNR value (say from 0 to 25 dB). The PEP is the probability of mistaking a matrix $M_a$ with a matrix $M_b$ which i...
This question refers to the link https://pure.tue.nl/ws/portalfiles/portal/1546321/521243.pdf. In chapter 4 it discusses the topic of dead zone, which appears in the delta sigma modulator. Dead zone means that when input signal to the modulator is very small than the output of the modulator will not follow the input, f...
Consider a signal $s(t)$. My question is if you know $|s(t)|$ and $|\mathcal{FT}[s(t)](f)| = |S(f)|$ or equivalently $|s(t)|^2$ and $|S(f)|^2$ is it possible to determine $s(t)$? That is, is $s(t)$ uniquely determined by $|s(t)|$ and $|S(f)|$? My strong feeling is that the answer is no but I can't come up with two sign...
My steps were as follows: $\ x_2[n] = x[n-k] $ $\ y[n-k] = x[n-k] + (n-k) $ and $\ y_2[n] = x_2[n] + n = x[n-k]+(n-k)$ Does this mean that it is indeed time invariant?
I am following an example provided by MATLAB on 1-D wavelet decomposition (DWT). The number of datapoints is 10000. If we do a level 3 decomposition following a similar example provided by MATLAB using https://www.mathworks.com/help/wavelet/ref/wavedec.html The length of the coefficients "l" after wavelet decomposition...
I would like to know whether I am correct in my understanding of going from STFT to a spectrogram. My goal is to convert a spectrogram back to a wav file. If I have my STFT: audio, _ = librosa.load(f, sr=Fs) stft = librosa.stft(samples, n_fft=NFFT, hop_length=HOP_LENGTH, win_length=window_length_samples) and I wish to...
My understanding of Pulse Doppler Radar is the system measures Time Of Flight for the pulse. My confusion is that during the down conversion process prior to ADC the lowpass filter causes some time delay in addition to the time of flight. In principle the delay should be known beforehand but I'm sure it's not exact and...
Statistician here who wants to get some DSP knowledge for time series analysis. I’ve known for years that if we hit a function with a Fourier transform, we have an inverse Fourier transform that will recover the original function. However, doesn’t the interpretation of the Fourier transform in the frequency domain lack...
I am implementing the method from this paper: https://dspace.mit.edu/bitstream/handle/1721.1/66243/Picard_Noncontact%20Automated.pdf?sequence=1&isAllowed=y The main idea is cardiac pulse measurement using a set of frames ($N=300$) from a 10s video so the frame rate equals $30$ fps. red = [item[:,:,0] for item in imgs]...
I am reading Oppenheim & Schafer's (O&S) Discrete Time Signal Processing (2nd or 3rd edition, does not matter) and I find hard to understand a technicality behind the Time-Dependent Fourier Transform (TDFT from now on). Specifically, I have a question regarding the invertibility of the TDFT. According to the textbook, ...
Why is there no FPU (Floating Point Unit) on most DSP chips? I found several answers such as this one that explain advantages of fixed point approach such as smaller power consumption, higher speed and I can myself think of several other advantages such as smaller heat production or price but I have never seen any pra...
What's the best method for calculating phase of complex nonsinusoidal signals? I've tried using Hilbert transform, but I've found that my results change drastically depending on the amount of data I pass through the Hilbert transform. What I'm seeing is that the phase angle calculated depends on the maximum amplitude o...
In digital image processing, I need to understand what does image resizing do? Does it only change the dimensions of the image, for example, from 256×256 to 128×128 with the same pixel spacing (the same dpi)? Or does it change the dpi or pixel spacing in an image? If I need to increase the size of the image and also in...
I'm trying to calculate the antitransform of: $\frac{1}{2\cdot(1+5w)^2}$ Now I know the antitransform of $\frac{1}{(1+5w)^2} = t \cdot e^{-5t} u(t) $ But in this case I got that divided by 2. I assumed I had to use the scaling property which says: $F[f(ax)] = \frac{1}{|a|} \hat{f}(\frac{w}{a})$ Now I'm not really sure...
I have done the computation of the autocorrelation of a sequence (vector), here called "frame", and I have plotted it. Here the code: The resulting graph is: I do not understand the position of the peak in this graph: I know that the peak of the autocorrelation should be in the origin, why is it there?
Can you help me on verifying if this computation of entropy is correct and on understanding its meaning? I am not sure of the result especially because it is equal to 0: it means that we cannot transmit any bits/s on that channel. Why?
If not, when can you not comply with it?
I have implemented a basic noise estimator using the minimum statistics method. Noise power estimate is obtained as a minimum of the short time power estimate within a window of subband power samples. In short, you take DFT to get amplitudes, square the amplitudes to get power, and then find minimum power across severa...
BACKGROUND The bit error probability for BPSK under AWGN is easily derived from tail probabilities of Gaussian distributions and results in $$P_e = Q\biggr(\sqrt{\frac{2E_b}{N_o}}\biggl)$$ The equivalent bit error probability for DBPSK is given as follows but much more complicated to derive: $$P_e = \frac{1}{2}e^{-E_b...
I want to create a rayleigh fading channel,and my classmate told me that I can create an $N_R \times N_T $ channel $\mathbf H$ with $E[|H_{i,j}|^2]$,that is,$\sqrt{\frac{1}{N_R \times N_T}}\times CN(0,1)$. Does anyone know why if I want to create a rayleigh fading channel with $E[|H_{i,j}|^2]$,I should multiply $\sqrt{...
Using definition, I got its Z transform as $X(z) = \dfrac{2}{1-\dfrac{z}{3}}$ and the summation converges only when $|z|<\frac{1}{3}$. So its ROC is $|z|<\frac{1}{3}$. But my question is: for such a left sided signal $x(n)$, its ROC should be inner to the innermost pole. But the pole of $\dfrac{2}{1-\dfrac{z}{3}}$ is $...
For communication systems, there is usually a target minimum rate $R$ bits per second. An outage occurs if the actual rate ever falls below $R$. Since $\frac{1}{2}\text{log}_2(1+\text{SNR})$, sometimes outage is also talked about in terms of $\text{SNR}$ and received signal power needing to be greater than some thresho...
The antitransform of the function is given: $ \hat{x}(f) = \frac{123 + i246\pi f}{246 - 24600 \pi^2 f^2 + i4920\pi f} $ I'm asked to determine which frequency can I sample using the function x(t) avoiding aliasing? (or which range of values) Update the problem actually suggest five answers: 100, 10, 1, 0.4 or none of t...
Resonant controllers are used in the power industry. The transfer function is $G_{res}(s) = \frac{K_i s}{s^2 +2\omega_c s+ \omega_o^2}$ The "textbook" discrete implementation is depicted in the image The first integrator is a forward Euler and the second one a backward integrator. It is not possible to use Tustin integ...
Is it normal to see periodic peaks going from 48.75 - 90 MHz? Also i was checking on my SDR dongle once and the whole band was raised above background offset for like a whole 50 MHz bandwidth and then it dropped to background again? Does anybody know what that means?
I'm stuck with the following exercise while self-studying the Discrete Fourier Transform: Consider sampling exactly three cycles of a continuous $x(t)$ sinusoid resulting in an 8-point $x(n)$ time sequence whose 8-point DFT is the $X(m)$ shown in figure below. If the sample rate used to obtain $x(n)$ was 4000 Hz, w...
The Constant Modulus Algorithm is a common equalization method which adapts at every sample in an attempt to give a filter which produces a fixed power output. Divergence/convergence of the CMA algorithm is still a problem. Has this ever been done in block form? For example the Least Squares equalizer uses a training ...
I'm having a tough time understanding the phase increments which are quadratic in nature in the chirp signal. When I see consecutive samples, what will I see in terms of phase and if I have to measure the phase difference between the two samples, what will I see ?
I work in a research lab and am currently setting up a system to image objects approximately 30 microns in diameter with a 250x USB microscope, then use image subtraction to isolate the objects as they move past the microscope FOV, and use blob detection to detect the object's presence in the binary subtracted image. T...
Is it possible to calculate/estimate the storage space a certain duration of .mp4 video files will take up? I have the resolution (eg. 4000 X 3000), the format (H.264 or H.265), the audio format (AAC) and the sample rate (41 000 Hz).
I don't understand why the following makes sense: Given a second-order mass damper system in continuous time: $H(s) = \frac{1}{ms^{2}+cs}$ Its inverse $H^{-1}(s)$ is unrealizable as a transfer function $G(s) = \frac{Y(s)}{U(s)}$ has a state space realization if and only if the degree of $Y(s)$ is less than or equal to ...
I was reading "Optical Recognition Systems" book and in chapter 3.3.2.3 where methods for full genetic programming are described, a paper is describing an ADF (automatically defined functions) like this: The ADFs have the terminal set Tf ={X, N, S, W, E, NE, NW, SE, SW} and the function set Ff = {AND, OR, NOT}. The ...
I'm trying to apply the Hough transform of the following image using MATLAB: The result is: How could I predict that there are 6 bright spots in the resulted image? I expected 8 spots since I observe 8 lines in the original image.
In Robert Gallager's lecture notes for 6.450 Principles of Digital Communications I, Exercise 2.1 asks an interesting conceptual question: Voice waveforms could be converted to binary data by sampling at 8000 times per second and quantizing to 8 bits per sample, yielding 64kb/s. [...] Modern speech coders can yield te...
I'm working on a radiation detection problem. I have simulated some measurement count data and want to add an amount of Poisson background noise to achieve a certain SNR. Radiation count measurement (due to the background radiation) is given by the Poisson random variable. After searching the web, I'm not seeing any c...
I heard about Fast Fourier Transform can decompose any waves. But it seems like it was hitting for "all frequencies", namely, n HAVE TO be from 0 to N-1! What if I want to decompose the wave into the frequencies I want!? Such as, for example, 5Hz, 14Hz, 37Hz, 42Hz, 59Hz, etc.!? Is there any algorithm that could do the ...
Is there a formula that converts scientific note names to piano key numbers? As an example, given A4 it would output 49.
Is the SWIPT( simultaneous wireless information and power transfer ) technology not the good method to increase the life of using battery? Because I design the Full duplex system with three device,and I found that the number of using battery with energy harvest vs without energy harvest is just 51vs 50. Their diffe...
I want to know what is the right way to downsample a sampled signal using Fourier transform as the implementation in scipy.signal.resample confuses me. Reading through the code it first converts the signal to frequency domain, then discards the middle half of the frequencies (i.e. second and third quarters), then inver...
I'm trying to grasp the concept of cross-correlation as it applies to CDMA in the GPS C/A signal where noise is involved and the SNR is low. My understanding is that before calculating the cross-correlation with the C/A code one has to transform (just shift by its average value?) the digitized and demodulated received ...
Wavelet based image denoising may be performed by thresholding (selecting a threshold value, and discarding all values below the threshold. Wavelet-based image compression may also be performed by a similar way. What is the difference then between the two operations? can we consider denoising a certain type of compres...
I am trying to understand the reconstruction part after discrete wavelet decomposition and how do we get approximations and details at various levels. Most textbooks show the complete reconstruction diagrams but not how to get an approximations and details at various levels. Let us say we started with a s[n] and DWT i...
This equation can be shown mathematically: $\frac{\partial f}{\partial x}=\frac{2\pi i}{N} \mathcal F^{-1}\left(u\cdot \mathcal F(f(x,y)\right)$ I am struggling to understand the intuition behind it when talking about 2D fourier for images and the use of derivatives to detect edges. How does multiplying the Fourier tra...
I've a C# program that generates a GPS C/A code consisting of -1s and +1s. Auto correlating the code with rotated versions of itself shows that the peak is 1023 and the next maximum value is 63 which agrees with what I expect. Now my understanding is that in the GPS C/A signal the SNR is -30dB and the receiver is still...
What are the standard ways to measure SNR, particularly before demodulation/synchronization?
Consider a discrete time LTI causal system $S: y = S(u)$, with its impulse response $h:{Z} \rightarrow R:h(n)=3^{n+1}{H(n)}$ with $H$ the Heaviside function. We know the values of input: $$u(0) = 2$$ $$u(1) = 1$$ $$u(2) = 1$$ $$u(3) = 1$$ $$u(4) = 2$$ Also the $y(2) = 66$. I'm trying to find the value of $y(3)$. I m...
So I've been learning about wavelets for a few weeks because I'd like to use them in a research project I'm working on and I've been trying to grasp the general ideas behind them.I've been struggling with plotting the scalograms of a CWT of a signal. I would really appreciate it if someone could go through my scalogram...
MATLAB has a library of wavelet functions, showing their "continuous forms" as well as the the decomposition and reconstruction filters. In decimated wavelet transform the filter size remains the same and the data points are downsampled by $2^j$ at every level $j$. A question that I cannot find an answer is how are the...
If I used a smartphone with high pixel per inch (ppi) value for capturing an image with certain dimensions, what happened if this image is displayed on a laptop (larger screen) with: the same ppi value lower ppi value higher ppi value Do the dimensions of the image change? or still the same? Is interpolation required w...