instruction
stringlengths
31
27k
problem solved itself, sorry for your inconvenience. I'll try to post better questions next time.
I have a gyroscope which reports x,y,z values to my embedded device. The rate that one sample appears is variable and has a jitter of around 10ms. However I later want to have a log file with a fixed sample rate (higher than the input sample rate). I found this post What is an algorithm to re-sample from a variable rat...
Here's an image of a cracked pattern. I wish to convert it to binary image where the continuous crack lines form the only discernible pixels. The main problems I am having in the lack of uniform lightning, which confuses threshold tools in image processing software, and the "black dots" which should be filtered out. I...
ADC noise can affect the overall noise performance of a receiver. The noise is partially quantization noise and partially thermal noise and as a general rule it extends up to the Nyquist frequency = Fs/2 . A simplification or assumption in receiver overall noise performance is to consider the noise spectrum to be flat ...
A signal $x$ can be decomposed into its even, $x_e$, and odd, $x_o$, parts. By, $$ x_e(t) = \frac{1}{2} [x(t) + x(-t)] $$ $$ x_o(t) = \frac{1}{2} [x(t) - x(-t)] $$ What would be the equivalent for a multidimensional signal, such as a image signal?
I have experimental PSD data of disturbances in terms of acceleration on a mass. My first problem is that these data are presented as $ (m/s^2)/\sqrt(Hz)$ which is not the PSD unit. Those unit should be adressed to an amplitude spectral density (ASD) which is directly $ ASD = \sqrt{PSD}$. (I am not sure of that either,...
What number is it correct to divide by your ADC counts as a first step in converting counts to voltage? For example, in a 10 bit ADC, is it correct to divide by 1024 or 1023? I have always divided by 1024, which means that a full count would yield less than full scale voltage reading. I think this is a more accurate re...
I’m having a hard time grasping what exactly ARE the real and imaginary numbers in my s-parameter data. Most of the time I just set the NA up in logmag/phase to find the loss though, say, a filter or cable. My understanding is you can pretty much derive anything from the real/imag, especially s11. But are these numbers...
Recently I am stucking in frequency estimation of a solvable chaos waveform. Its local analytic expression in time domain is $$ z(t)=s_m(u_m-s_m)e^{\beta(t-mT)}\cos(\omega_0 t+\varphi),mT\leq t<(m+1)T $$ where $u_m \sim U(-1,1)$ , $s_m=sgn[u_m]$ and $s_m\in[+1,-1]$. $T=2\pi/\omega_0$ and $\beta=T \mathrm{ln}2$. And $m ...
Are frequency components other than wanted signal present in the output? If yes then why does it not disturb the original signal? I think all practical filter responses are not ideal, so all frequency components present at the antenna are still, though small amplitude, present at the output of the filter. Why does it n...
I am learning DSP (with Digital Images) and I have some elementary confusion about the convolution between two discrete periodic signals. Specifically, I have learnt that when filtering an image, we apply convolution between the image (as discrete 2D signal) and a kernel filter. To visualize what happens in the frequen...
I have some confusion regarding the impact of SNR on the bit rate. For example, if I have a QPSK-OFDM system, then my bit rate will be 2bits mutiplied by the number of sub-carriers of the OFDM modulation over the symbol time. How can I account for the SNR in this case?
Forgive me if it’s too basic, I finish engineering a while ago. Given any time series, not periodic, I would like to find any repetitive pattern that is distinct (by some given measurement) and is unknown. For example given this : I would like to find number 1 and 2( get their index on time). Is FFT going to help any...
This question is more or less the following of a previous question. The aim is to equalize some sounds signals. By equalizing, I mean increasing or decreasing some frequency ranges, a bit like an analogic equalizer. The process I am applying now is : 1/ getting the temporal sound signal 2/ getting the "spectral correc...
I have a long audio file (in wav) and a short audio file (in wav) that has been copied from the long file. Now I need to find the correct location where the short signal has been copied from. I tried to compare the sample data but for some reason (possibly resampling or introduction of short fades) it doesn't match up....
I am trying to build a real time simple audio recognition that can recognize few keywords. Following this tensor flow tutorial i was able to train a simple neural network. Currently the signal flow looks like this microphone --> Pulse Code Modulation(PCM - range [-1, 1]) --> stfts --> spectrograms--> mel_spectrogr...
I have $x(t)-> LTI -> y(t)$ where $LTI=h(t),H(jw)$. and $H(jw)=ab/((a+jw)(b+jw))$ where a and B are real numbers. I am wanting to find the impulse response $h(t)$ as well as the input/output differential equation to the system. If my understanding is correct I would want to take the Fourier transform of the frequency...
I have a image that I need to shift with less than a pixel. My plan was to do a Fourier transform and multiply the signal with $e^{-aiu-biv}$ where $a, b$ are the shifts in x and y direction. This might make sense in theory but in practice I don't really know how to represent $e^{-aiu-biv}$. I am using numpy to do a 2d...
I have received an audio file which is 44.1kHz wav. My ears suspect this audio clip was originally lower than 44.1, and encoded to 44.1 later, much like re-encoding a 720p video to a 1080p video. Is there a way to find out if this is true? Like, analyse the audio clip to see.. how many Hz it uses..? I have literally no...
Assuming that $f_{X|D}(x|d)=e^{\alpha d x - \psi(d)}f_0(x)$ for some constant $\alpha$ such that it is a valid pdf for every value of $d$, i want to establish that: $$\mathbb{E}[D|X=x]=\frac{1}{\alpha}\frac{\partial}{\partial x}\lambda(x)\quad \text{, where}\quad \lambda(x)=\log\frac{f_X(x)}{f_0(x)}$$ *There's no...
I want to remove the portion of the line (highlighted by the yellow circles) where pixels form a straight vertical line segment. If I use the strel SE = strel('line', 5, 90); edgesR = imerode(In_R,SE); then the remaining lines are also being erased. Is there any other approach here?
Is it possible to create a set of complex orthogonal sinusoids using FFT or IFFT In other words a kind of "Multiple Frequency Shift Keying" using multiple sinusoids that are created with a fourier transform ( FFT or IFFT) and where one frequency is sent at a time?
When using for example, polar signaling of full width rectangular pulses, the bandwidth is equal to the pulse rate $Rb$, which is also the bit rate. $B=R_b$ for full width rectangular pulses. But also we can describe the minimum required bandwidth for transmission of this data. $B_{min}=\frac{R_b}{2}$ If I am sending d...
Using an algorithm that gives the fundamental frequency across time, example https://www.mathworks.com/help/audio/ref/pitch.html (or some other one?) how would I then use that, to create a harmonic mask of nHarmonics based on that fundamental frequency? So the mask will contain the f0 + nHarmonics harmonics. The point ...
I’m currently working on my capstone for school, and I’m looking for some guidance/tips when it comes to real-time filtering. The nature of the project is to monitor breathing patterns, send the aquired signals wirelessly, and then process/filter the data using a mobile app. My part of the project is the latter, and I ...
I recently read that before downsampling an image, it should be blurred using a Gaussian Kernel. This way, the downsampled image is better than just picking a single pixel out of a NxN block or averaging over the block. After searching in this site as well as google, I didn't get any exact answer. But there were quest...
I'm an Italian student. I'm studying Gnu Radio and I would like to upload a photo, can I upload it with "file image source" or other blocks? I need to make FFT of an a image. -> image 2D Thank you very much and sorry for my bad english
I have one sample for a signal. This sample is a vector of length 384. I need to calculate the correlation matrix for this signal,So I need many samples for the same signal. How can i generate these samples form the given sample using Matlab?
Can we construct exact analog signal at receiver as same as the source from the sampled signal?
Faster than Nyquist signaling is used to improve the spectral efficiency by reducing the time spacing (relaxing the orthogonality constraint) to pack more data in the same channel while tolerating a certain intersymbol interference (ISI). What is exactly faster than Nyquist? Is it by increasing the sampling rate higher...
Following is the code given in MATLAB's site to estimate PSD using FFT. Fs = 1000; t = 0:1/Fs:1-1/Fs; x = cos(2*pi*100*t) + randn(size(t)); N = length(x); xdft = fft(x); xdft = xdft(1:N/2+1); psdx = (1/(Fs*N)) * abs(xdft).^2; psdx(2:end-1) = 2*psdx(2:end-1); freq = 0:Fs/length(x):Fs/2; plot(freq,10*log10(psdx)) grid ...
From the Wikipedia article: "An inverse FFT is computed on each set of symbols, giving a set of complex time-domain samples. These samples are then quadrature-mixed to passband in the standard way. The real and imaginary components are first converted to the analogue domain using digital-to-analogue converters (DACs); ...
I am trying to fit a second order polynomial to various curves on a binary image using MATLAB polyfit function.There are many such curves on the image, and the coordinates of the pixels forming the curve are known. How do I compare the co-efficients, so as to arrive at one approximation to all such curves? Here are ...
Is there any practical “go to” book that demonstrates the main dsp methods for time series written in C for practical applications? (Doesn’t have to be for hardware, but for any raw data such as sensors, stocks, etc).
Subtracting a background image for background correction is the standard way of doing background correction to obtain the foreground. I am wondering if there are situations, where it would make sense to divide with the background image instead. For example, it seems that having a uniform image intensity after division...
In one of the homeworks that I am dealing with for Linear Systems course, I have encountered with such a statement: Consider $\mathbb{C}^N$ the vector space of N dimensional complex vectors. We can define a basis $F=\{f_1,\ldots,f_N\}$ where \begin{align} f_k = \begin{bmatrix} f_{k,1} \\ f_{k,2} \\...
When applying ideal sampling on audio singals, why is the spectrum periodic ?
My professor asked me to convert following powers into decibels: 15W, 25W, 33W, 450mW, 24MW, 44 GW,120pW. I know that decibels are about ratio power/reference_power. I don't have reference power specified here. Is there something like default value? What should I do?
I am after the method and its implementation of the fastest convolution of 1d signals: $$ y \left[ n \right] = \left( x \ast h \right) \left[ n \right] $$ Where $ \ast $ is the linear convolution operator. Let's assume that we have infinite storage or memory but we have finite time. What strategy or algorithm can we us...
The idea is to find the fundamental period of any periodic and bounded signal. This is all that we know about the signal. Nothing else. Only allowed operations are: $+,-,\times , \div$. We can also access any value of the signal that we desire. How can a method be developed which finds or estimates the fundamental per...
I want to know how in practice we can take a kHz/MHz signal to a GHz band? Suppose we have an FSK modulated signal at around 300 kHz (or 20 MHz). I want to take it to 3.5 GHz, so about 3499700 kHz higher (or 3480 MHz higher). Should I build an oscillator with a frequency of 3499700 kHz (or 3480 MHz) to use it as a mi...
I have been trying to understand what the contour levels are. As far as I understand a contour of the function $Z(x,y)$ is a set of points in the $(x,y)$ plane, such that $Z(x,y)$ is fixed at some constant value, that constant value is the contour level. Matlab docs state that the contourc function takes an argument ...
I'm new here so I will try to be as clear as possible. I am trying to apply some techniques from signal processing framework to denoise financial time series. I would like to know if what I am trying to do makes sense or if I am committing some theoretical mistake; I have a time series that I assume to be composed by ...
This tutorial shows the idea of analog time domain OFDM. My question is if we can sample the analog signal and use time-domain OFDM in a similar fashion. Why do we need to apply IFFT/FFT to the signal at transmitter/receiver? I understand that it is more efficient to use the FFT at the receiver side, but why do we tra...
I'm comparing three frequency response's plots from simulations and experiments and I observed that two of them look like clamped to a DC component, where the max dB value is i.e. 100 and the min is 40 dB, while on the third one the max is i.e. 120 dB and the min is 10 dB. I want to use the correct term to talk about t...
I have this little doubt regarding how to draw a block diagram representation of a difference equation. Let us implement $ y(n) = ay(n-3) + by(n-2)+cy(n-1) + x(n)$ in block diagram where $a, b, c$ are constants. What I made is this. Is this block diagram wrong? They say that you should use only $z^{-1}$ delay multiple...
I need to calculate the derivative of a digital signal (sinusoidal). In one of the papers they have mentioned Gilbert transformation is used to calculate the derivative. But I have searched in the net and found only Hilbert Transform. Is it possible to calculate using Hilbert Transform. Thanks in advance. Karthi...
I have this question regarding digital systems which might not handle sinusoidal signals in general. So let us say that I have a system with impulse response $h(n) = \{1+j, -1, 2j \}$ with first element at index zero. Clearly this is a complex quantity. When I take the z transform,I get $$H(z) = (1+j) - z^{-1} +2jz^{-2...
For two processes $X(t)$ and $Y(t)$, PSD of $Z(t) = X(t) + Y(t)$ is $S_Z(\omega) =S_x(\omega)+ S_Y(\omega) + S_{XY}(\omega)+S_{YX}(\omega) $. If $X(t)$ and $Y(t)$ are orthogonal, PSD of the sum process is sum of the PSDs of individual processes. However for correlated processes, an additional PSD term comes into pict...
Are the actual 1023 bit sequences for each of the 32 GPS satellites available to consumers? I found the IS GPS 200 but it doesn't list the entire sequences. Are verified sequences available for download anywhere online? I'm trying to validate my python CA PRN generator. Also, what does the last footnote (**** The two-t...
The spectral entropy (SE) of a signal is a measure of its spectral power distribution. The concept is based on the Shannon entropy, or information entropy, in information theory. The SE treats the signal's normalized power distribution in the frequency domain as a probability distribution, and calculates the Shannon en...
At this point in a lecture by MIT Professor Strang the idea of gaining insight into a filter by studying its eigenvectors is introduced. The idea is clear with the example chosen in the lecture: an signal-averaging 2-tap filter (running average) expressed in matrix form as $$F=\tiny \begin{bmatrix} &&\ddots&\ddots&&&&&...
I am a computer science student and didn't really have signal processing as a subject. Maybe I should be clear on the concepts of sampling rate and frequency of the signal but I am a little confused. I was trying to code and understand the process of finding MFCC filter banks on audio files. One intermediate step is to...
I'm taking a course on DSP and we're being introduced to the random signals, in particular continuous time and discrete time random signals. We're told that if we repeat a single random experiment at each point in time, the random variable associated with each random experiment when collected together will form the ran...
The complex exponential form of cosine $$\cos(k \omega t) = \tfrac{1}{2} e^{i k \omega t} + \tfrac{1}{2} e^{-i k \omega t}$$ The trigonometric spectrum of $\cos(k \omega t)$ is single amplitude of the cosine function at a single frequency of $k$ on the real axis which is using the basis function of cosine? The complex...
I am trying to find the impulse response to this system: At first it looks easy enough, $y(n)=x(n)(-1)^n$, set $x(n)=\delta(n)$, which makes $h(n)=(-1)^n$. But something seems wrong. What am I missing? (considering that $(-1)^n=\cos(\pi n)=e^{j\pi n}$, this system seems more complicated than it looks. It seems like $y...
If you have a signal x[n] and it is interpolated by N and then decimated by M, how do you ensure minimum distortion in x[n] from the resampling process?
In order to meet the user requirements in the next generation radio access technology, the ongoing standardization within 3rd Generation Partnership Project (3GPP) offers flexibility in terms of employing mixed numerology. I have read many papers about it, such that: This link. I think it's a new technique but it'...
I'm a computer science student and I love producing music and I really want to get into developing audio plugins. I'm currently learning the JUCE framework and am fairly comfortable with C++. I'm also good with maths. I've been doing some research but I'm still not sure as to what book I should use to reference/learn d...
I have been using scipy's spectrogram function (STFT) to compute a PSD spectrogram for a non-stationary signal. I provide X length window (with nperseg = X/10) each time to the spectrogram function and eventually concatenate the result. Now, I would like to use Welch for generating this spectrogram. I'm a bit confused ...
I'm trying to filter a 400 samples signal with various bandstop FIR filters (constant group delay), one at a time to see which one gives me the desired result. Every filter was build using the Kaiser Window method in Matlab. Each filter has a different number of coefficients. The smaller one has 782 and the biggest one...
I have a signal containing two sine tones 30 kHz and 60 KHz. I used a second order IIR notch filter to filter out the 60 KHz component from the signal, so now the signal has only 30 KHz component. When comparing the filtered out signal with a pure 30 KHz tone generated, the earlier samples are very much different but l...
I have a set of sample data, a logarithmic swept sine as it happens, that is 1 second in duration sampled at 100kHz giving 100k samples. I want to calculate the frequency spectrum of the complete data however the FFT library function available only supports 4096 samples maximum. Is it valid to sequentially FFT 4096 sa...
I am working on an online application of signal processing and pattern recognition. It involves sampling the signal at 2 MS/s, extracting features and classifying. My classifier has pretty good accuracy so far using the DWT (discrete wavelet transform) with 3 decomposition levels. However, I have been studying the EMD...
Question: Does it make sense to perform compressed sampling if the non zero samples are grouped in time? If so, what is the minimal length of the vector x that should be acquired to allow full signal reconstruction (of at least the non zero pulse segments)? $y=\phi x$, where y is the compressed vector and x is the sign...
A point on the S-plane (where $s=\sigma+j\omega$) represents a signal with a given frequency (given by the imaginary component) and which either decays, increases or stays stable (depending on the value on the real component). Doing the maths, by converting $e^{-st}$ to a cosine and sine pair, I can see that points th...
Why is it so important to have the phase gradient encoding step come before the frequency gradient encoding step when collecting MR Images? Currently, the phase encoding step is turned on briefly, then the frequency encoding step is turned on during data acquisition, effectively populating k-space row by row. Could you...
I've been working at this problem for a while now, and can't seem to come to a solid conclusion - is this system time invariant? $y(t) = \int_{-\infty}^{t} e^{-9(t-\tau)} x(\tau)d\tau $ My reasoning for the system being time invariant is that it is clearly a convolution integral. Time shifting the input will shift the ...
The Hilbert Transform of an Amplitude Modulated signal returns the envelope of the signal. What does the Hilbert transform of a Frequency Modulated signal return? How can I use the Hilbert Transform to get the sidebands of a Frequency Modulated signal?
The received noisy signal $y_n \in \mathbb{R}$ is expressed as: \begin{align} y_n = \mathbf{h}^\mathsf{T}\mathbf{u}_n + w_n. \tag{1} \end{align} $\mathbf{h} = [h_0,h_1,\ldots,h_{p-1}]^\mathsf{T} \in \mathbb{R}^{1 \times p}$ of length $p$ which represents the impulse response of length $p$, and $\mathbf{u}_{n} = [u_{n}...
Hi I am trying to make a vector with char variable. This is my code: h='wudh2h2'; w='uwuuw'; v = [h w] t = v(1); THe result is t='w' Why is t not t='wudh2h2' ?
There is some vertical banding near the tree trunks in the following image. Is there a way remove this type of artefact, preferably using Mathematica?
Suppose there's a complex signal $X(k)$ (where $k \in \{0, 1, 2,...,N - 1\}$) corrupted by additive complex noise. Its estimate $\hat{X}(k)$ is a linear combination of a set of real parameters $A_r$ ($r \in \{1, 2, 3,..., R$}) $$\hat{X}(k) = \sum_{r=1}^R A_rZ_r(k)$$ where $Z_r(k)$ is complex (and known). I wish to obta...
I have to design a generic baseband filter. I have a C++ code which gives me filter coefficients based on the input parameters such as no. of taps, no. of bands, band edges, amplitudes and weights(code uses remez exchange algorithm). I import the filter coefficients in MATLAB, do fft and plot the graph of it. I have to...
I'm working on detecting signals buried under the sensor noise using a multiple sensor system and using some technique (correlation?) to take what is common to all the sensors and cancel out the random, uncorrelated part of the sensors. The signal I want to recover is some 30 times smaller than the rms noise. The small...
I would like to recreate a sound from a picture of a soundwave. But i see a lot of theorical question. And im not sure its possible.... I mean, it is possible to create a sound... But to make the sound as close as possible of the original one, sound a bit harder. Most of the time when you see soundwave as art... It'...
I know that $X(f)$ gives the amplitude associated with the frequency component $f$ of a signal $x(t)$. Now, a sinusoidal signal in time $x(t) = A \cos (2 \pi f_0 t)$, has a Fourier transform $X(f) = \frac{A}{2}[\delta(f-f_0) + \delta(f+f_0) ]$. My question is that the Dirac Delta funcion tends to $\infty$ at $0$. Then,...
The periodogram $\widehat{P_x}(e^{jω})$ is an estimate of PSD $P_x(e^{jω})$ and for mean-square convergence - $\lim_{N \rightarrow \infty}E\left\{\widehat{P_x}(e^{jω})\right\}=P_x(e^{jω})$ My question: If I calculate the expected value, which is according to definition an average, this way $E\left\{\widehat{P_x}(e^{jω...
How i can have a 1 Hz resolution fft, from a limited data (between 0 to 100 msec)? sampling frequency is about 20 kHz or step time is 0.05 msec. i try it by using zero padding but the resolution not satisfy me.
I'm studying image quality assessment (IQA) problem and I'm currently learning about quality measures UQI and SSIM, I know UQI is a predecessor of SSIM, but they look exactly the same for me...
Fourier transformation is used to split a periodic signal into frequencies, and calculate the phase and shift for each frequency. But what if we would like to record an audio, which is changing, for example, because someone starts to play with a new instrument? I know that if the recording is 44100 Hz, then we record 4...
Which technique gives better result in extracting a band from a signal, let's say the alpha band (8-13 Hz): using a band-pass-filter or a DWT (Discrete Wavelet Transformation)? P.S.: I am working in EEG processing.
The problem says that we have the information (actually a .mat file that contains the data) of 1 pixel from an IR camera from an object with 26° of temperature. Because of the noise, the output is given by $$ y[n]=26+N[n] $$ where $N[n]$ represents the noise. For that, I'm supposed to implement the following filter: $$...
I need to use Parseval's Theorem to find \begin{equation} S\:=\:\sum _{n=-\infty }^{\infty }\:\left[\left(\frac{\sin\left(\frac{\pi }{4}n\right)}{2\pi n}\right)\left(\frac{\sin\left(\frac{\pi \:}{6}n\right)}{5\pi \:n}\right)\right] \end{equation} I used the fact that \begin{equation} x_1\left[n\right]\:=\:\frac{\sin\le...
The Fourier transform of a constant exists. Can anyone please tell me what the $\mathcal{Z}$-transform of a constant is? Thanks in advance.
I want to remove a bright spot in an image. This is the image I used: and this is the Matlab code I wrote: clc; % Clear the command window. close all; % Close all figures (except those of imtool.) imtool close all; % Close all imtool figures if you have the Image Processing Toolbox. clear;...
I am trying to find the controllable realization of the following transfer function: $$H(s)=\frac{s^4+1}{4s^4+2s^3+2s+1}$$ I approach this by first using polynomial division to assure that $H(s)$ is strictly proper. This yields: $$H(s)=1/4+\frac{-1/8\cdot s^3-1/8\cdot s+3/16}{s^4+1/2\cdot s^3+1/2\cdot s+1/4}$$ From thi...
Can we distribute the minus sign as follows? $$-h[n_1,n_2] = h[-n_1,-n_2]$$
I have a question regarding histogram equalization and adaptive histogram equalization. In which circumstance would it be preferable to use adaptive histogram equalization over histogram equalization and similarly, when would it be preferable to use histogram equalization? Which applications do they find more use in co...
So, I'm working with the filter banks used in Mp3, in Matlab. I am obtaining quite a huge distortion in the output and I don't really know whether I'm making something wrong. I've reviewed the literature and I'd say I'm making it properly, so I don't really understand what I'm making wrong. So I'm basing the work on a ...
The fourier transform of a continuous time signal $x(t)$ is $X(ω)$ where the unit of $ω$ is radians/second. And for a discrete signal $x(n)$, the DTFT is $X(e^{jω})$ where the unit of $ω$ is radians. Clearly the $ω$ for FT and DTFT shouldn't mean the same thing. Question What is the difference in interpretation of $ω$...
We know in Laplace Transform, if the poles lie on the left of $j\omega$ axis, we can say the system is stable. Similarly can we comment on the stability based on poles position in $\mathcal Z$-transform domain?
I have 1024 sample points, and I would like to do really simple extrapolation using Fourier transformation. First I apply Fast fourier transformation on the data. My first intuition was that I just calculate the inverse fourier transformation on a larger interval. The result of the FFT is a collection of sinusoidal wav...
I'm working with signals with variable sampling rate (the time space between samples is not constant). I know the delay between samples but I don't wont to interpolate the signal. Is there a way to design a filter in $z$ domain and filter a signal with variable sampling rate without interpolation?
Let $X$ and $K$ be an image and a Point Spread Function (PSF), respectively. The blurred image $B$ is obtained as follows $$B = X * K$$ I want to solve the following general regularization problem $$\min_X \left\|X * K - B\right\|_2^2 + \lambda \| f(X) \|_2^2$$ where $f$ is a regularization function. In some literature...
I'm trying to make a specific image filter, processing a picture to cartoonize and change the colors. Here you can see the original and the expected result: http://codingfocus.com/ieffect.jpg I'm not sure which will be a good approach, I started with a grayscale, posterize and color replacement ranges based on how dark...
I have hard time in understanding the results I get when I plot the spectrum of the time-derivative of a noise signal: $|DFT[\frac{dx(t)}{dt}](\omega)|^2$ as a function of frequency $\omega$ (see image below), where $DFT$ is the discrete Fourier Transform, $x(t)$ is a discrete time serie of random samples extracted fr...
Spectrograms convert an amplitude-time signal into a frequency-time signal using Short Time Fourier Transform (STFT). The window size L used in STFT is a design choice. As L increases, you get higher frequency resolution and lower time resolution and vice versa. If you performed STFT with a large L to get spectrogram A...
I am trying to generate Offset-QPSK modulated symbols. But I am facing some difficulties. I know how to make QPSK symbols but I am unable to figure out at what stage I have to bring in changes to make it OFFSET QPSK. The following are the steps I did: Generated a stream of 1s and 0 s I have paired at 2 consecutive bit...
If we have a signal $y[n]$ and its unit delayed version $y[n-1]$, can we write $y[n-1]$ in terms of $y[n]$ times some exponential? The reason I want to do this is to then take $y[n]$ common and simplify my analysis that I am doing for my research. The above is a generic form.