instruction
stringlengths
31
27k
I am implementing getting orientation from smartphone. I want to use Kalman filter and should determine process noise covariance matrix $Q$ and measurement noise covariance matrix $R$. (newbie to Kalman filter) I don't have any idea how to determine $Q$. What I think about $R$ is as follows: state vector : quaternion f...
If I have a wav file with this characteristics: 16bits (2 Bytes per Sample) 32000 Sampling Rate 60 Seconds 2 Channels then I have: Samples Per Channel: 32000*60 = 1920000 Samples Per File: 32000*60*2 = 3840000 Bytes Per File: 32000*60*2*2 = 7680000 It's a huge file! If I change my file Characteristics to: 8bits (1 ...
I have implemented SVM by openCV. However, I have a problem about SVM with openCV. For example, I have six categories, but I just use "five" of them to train my SVM. When testing, I want my system which can find out the sixth category is not belong to any category in the system. I think that I can use a threshold to de...
I want to make a programm that can detect the differences between two similar images of an automotive fusebox. The fusebox will be placed inside a jig and so will usually will be in the same position in all the photos taken (won't be rotated, scaled or shifted. There might be subtle differences in lighting throughout t...
Recently I learned that the DFT has good numerical stability since it can be represented as an orthogonal matrix, which has a condition number of 1. Is it possible to represent the STFT and DWT as matrices and asses their numerical stability using condition numbers? To be specific and capable of comparing stability bet...
In the derivation of the minimum shift keying in-phase and quadrature components in Simon-Haykin Communication Systems 4th ed (p.387-390) we start off with the definition of the signal to be $\ s(t) $= $\sqrt {2E_b/T_b}$ $\cos(2\pi f_c t+\theta(t))$ where $\theta(t) $ = $\theta(0) $ $\ \pm $ $\ \frac {\pi}{2T_b} t $ $\...
I have the following difference equation: $y[n]=y[n-2]-0.25y[n-4]+x[n]-x[n-2]$ I need to find the first 6 values of the impulse response of the system characterized by that equation. When I do that, the values I get are: $[1,0,0,0,-0.25,0]$, starting from index zero. I have the answer, which states that the right respo...
I'm trying to estimate what would be the result of first performing an histogram equalisation on an image, and then compressing it using JPEG. I know that histogram equalisation increases the contrast in the image. I also know the jpeg reduces the size of the image by removing the high frequencies from the frequency do...
What is the purpose of normalizing the signal? If we have two signals on hand, how is it used when comparing these two signals?
I am looking for a data structure, that can be used for description of a floor plan of a building. Its not about the format, I am asking about any other way to describe the floor plan of building, rather than in traditional map-based structure, preferably in some sort of tree or graph based structure, which can be deri...
Which algorithms should use to recognize handwriting numbers from an image?
How can I make predict state/equation for next state if I have state space $[C_x,C_y,H,W]$ where $C_x,C_y$ is position of centroid object and $H,W$ is height and width of object contour?
Given an LTI system of the form: $$ \frac{d}{dt}{x}(t) = {A} {x}(t) \ + \ {B} {u}(t) $$ where ${x}(t)$ is the state variable, ${u}(t)$ an input and ${A}$ and ${B}$ constants, how does one show, by superposition, that the system is linear? I've searched and searched and tried to do it myself and I am unable to do so. Se...
OpenCV Motion Analysis Documentation lists multiple techniques for motion tracking: Sparse Optical Flow | calcOpticalFlowPyrLK, Dense Optical Flow | calcOpticalFlowFarneback, and Motion History Image | calcMotionGradient, segmentMotion, calcGlobalOrientation. I need help in understanding their pros and cons. Which...
I have a periodic signal on a given grid, say (in matlab format): t = 1:30; omega = 2*pi/18.431; phi = -pi+2*pi*rand(1); % a random phase [-pi,pi] x = sin(omega*t+phi); % the signal x = x+0.5*rand(1,length(x)); % add some noise Now I want to retrieve the phase phi. There are a few approaches to that, one is to ...
Is this how the lowpass butterworth analog filter can be implemented?
I read that the window is needed to apply filter (Low Pass, High Pass, Band Pass or band Stop), but not for the FFT. 1. What advantage does apply a window or disadvantage does not apply? 2. What is the criteria to choose the size (My LengthW:Length of Han Window)? 3. Where I can find literature that specifically? My...
I am simulating a linear system described by the following equation $m \ddot{x} + c \dot{x} + k x = A \sin(\omega t)$ Fs = 1000; % sampling frequency tspan = 0:1/Fs:10; m = 25; c = 15; k = 330000; A = 100; % forcing amplitude omega = 114.89; % forcing frequency % State space function odefun = @(t,u)[...
I was reading a physics book and it said that when digitizing a signal white noise was added to improve the process. I don't understand how this works. Therefore my question is: When digitizing an analogue signal, how can adding noise be beneficial when combined with oversampling in time?
What does the graph of the function $x(t)=-\delta(t)+u(t)$ look like? $$\delta(t)\ldots\text{ Dirac delta impulse}\\ u(t)\ldots\text{unit step function}$$ Will the impulse at the origin start from 0 downwards or from 1? I'm having trouble because the unit step is discontinuous at t=0, so I don't know how it will sh...
Recently, I studied a paper called "What Does Your Chair Know About Your Stress Level? It can be download at the link below. http://www.barnrich.ch/wiki/data/media/pub/2010_what_does_your_chair_know_about_your_stress_level.pdf at page 209, Section IV-A mentioned that In order to characterize the movement propert...
I'm just curious about the copyright issues when publishing a paper on the Internet. Can some simply take the idea I explained in a manuscript and implement it for his own work? (e.g. using some programming language) Obviously I'm supposing that: I haven't made public my own implementation (personal or for a company), ...
Hello this is my sample image I am going to do real time character detection on images like that. I've tried SURF, SIFT, MSER and template matching on original image without any preprocessing. I can detect characters but when the image changes this feature detection methods does not work because there isn't a lot of in...
For time-invariant systems, if the input is periodic, the we can argue that the output is periodic: If we shift the input signal one period, we come up with the same signal as before, and since the output must be shifted the same amount as a result of the system being TI, it should be periodic too. For causal systems w...
I'd like to know if a technique I have in mind is already used and has a name I can look up, and whether it is likely to work and be useful! My aim is to produce a discrete wavelet transform that is not over complete but shares properties with an invertible Laplacian pyramid. I believe it would be well suited to applic...
I am doing some tests about local/global contrast algorithms and need a simple equation to define an arbitrary S-shaped contrast curve. It's simple if the turning point is assumed to be (0.5, 0.5), but couldn't find a straight equation if the turning point has to be arbitrarily set. These are the typical contrast curve...
What I want is simply to apply low pass and highpass filters to an image in the frequency domain. Does MATLAB image processing toolbox have any commands for this?
BCJR algorithm needs noise variance for Gamma (branch metrices) calculation. So I am wondering does SOVA (soft output Viterbi algorithm) needs noise variance?
say we have a binary image like the one in below i would like to extract each black line, even if it's not almost connected i have marked here in red, example of lines that correspond to those to be extracted **the purpose here is to extract lines a handwritten text ! ** any suggestions !! Thanks
I am going to do some kind of transformation and transform a data to another domain, and again back to the first domain. For this, I take a fourier transform of the data and separate the positive part and I use the positive frequencies only. I know that for example in the frequency domain of a wavelet we have positive...
Hi I am attempting to develop a reasonable IQ balance mechanism for a quadrature signal coming from a software defined radio.I can balance out the amplitude and phase differences at one frequency quite well, about - 80dBm. However, over the typical span of my spectrum scope (192khz), there are differences at different...
I have a noisy signal. Then using filtering techniques I got the estimated noiseless signal. I dont have the original noiseless signal. I have calculated SNR the following way: $$ \textrm{SNR}=10\log\left(\frac {\textrm{Estimated Noiseless Signal}^2} {\left(\textrm{Estimated Noiseless Signal-Noisy Signal}\right)^2}\ri...
Filter sharpening is a technique to sharpen the magnitude response of a digital filter. Finding information online about it is problematic since almost all google hits will be about image sharpening (unsharp mask etc.), which is unrelated to filter sharpening. A naive technique to sharpen a filter would be to cascade i...
I am new to this site and field too.I always thought analog is continuous and digital signal is discrete. I read this today and got confused about analog signal Analog can be continuous time(CT) or discrete time(DT). A discrete time signal is not a digital signal; a discrete time signal is one in which the ampli...
I was reading "Discrete and continuous Fourier transforms: analysis, applications and fast algorithms" written by E.Chu and, at some point, I found something that I could not completly understand. If $x(t)$ is not continuous, then it is possible that 2 different functions share the same transform $X(f)$. Therefore, t...
Please can anyone answer this question: The Discrete Fourier Transform (DFT) is a sequence of $X(k)$ in frequency domain of the time sequence {$x(n)$} of $N$ terms. The periodic property of the DFT is often used to reduce its computational time. Prove that only $N$ distinct values of {$X(k)$} can be computed.
Hello I'm trying to recognize characters on the circular metal surface. Without any preprocessing I could match cropped features with original image. I've actually cropped 2 characters together to increase interested points on a template. however on different locations of the conveyor belt and with different illumi...
I have found in the literature a "time-variant signal" term , but I could not understand what that's mean. I know that there is "time-variant systems", but this is the first time, which I see a time-variant signal term. Any one has an idea what this term means ? Some suggests that this term is related to non-stationa...
Creating two 10x10 black images. 1st image, adding a 2x2 white box in the middle (Low pass filter). 2nd image, adding 1 pixel in each of the corners. Then performing the following steps in that order: 1. ifft2 (Transformation to the time domain) 2. ifftshift (Without it the results would be shifted, not sure why, and s...
I'm trying to generate a modulated Gaussian pulse. First I'm generating the pulse in the time domain perform FFT and displaying both in time and frequency, then I'm multiplying it with cosine term (which is related to distance measurement - Interferometry). The modulated pulse seems undersampled, I tried to increase '...
I am trying to implement the algorithm described in this paper, I'll quote the relevant portion: http://recherche.ircam.fr/equipes/analyse-synthese/roebel/paper/trueenv_dafx2005.pdf Let $V_i(k)$ be the cepstral representation of the spectral envelope at iteration $i$, that is the Fourier transform of the filtered ceps...
It is a well-known artifact that in CMOS cameras with electronic rolling shutter, horizontal banding (flickering), i.e. brightness intensity variations, are observed when the image is recorded under fluorescent lighting. This is due to sequential exposures of the rows of the image, which leads to different intensities ...
I've got a sample curve which ends theoretically with decreasing exponential. The curve end falls into noise. The sample points are given in log scale. What I want to do, is to find and fit the linear part of the log curve to retrieve the exponential factor. The trick is that I don't know the starting point neither the...
I am getting incorrect amplitude of my signal post FFT (90% error) and it does not improve after applying any of the window functions prior to FFT. After reading a number of articles, I believe FFT overlapping might improve the accuracy. However, I am not sure how to do it in Matlab. Please could anyone shed some light...
Let $a$ and $b$ $\in \mathbb C^N$ and $a[k] = a[k \mod N]$ (same with b). Then the circular convolution of $a$ and $b$ is defined by $$ (a * b)[n] = \sum_{p=0}^{N-1} a[p] b[n-p].$$ I have a problem understanding the flip operation on the convolution. Let $(Ja)[n] = a[-n]$, then $$ J(a*b)[n] = \sum_{p=0}^{N-1} a[p]b[-n...
I am very, very new to signal processing (only started a few days ago) so please bear with me because I may be missing the big picture. Consider an arbitrary signal $x(t)$ with varying frequency to be processed by a computer. Given the right sampling rate w.r.t the frequency, shouldn't the Sampling Theorem essentially...
Does anybody know any open voice/speech annotated database for Voice Activity Detection? Or any other corpus for speech evaluation purposes? The ones I know are private: AURORA, TIMIT, SpeechDat-Car, Speecon, Catalan Speecon. The other option is to create hand-labeled annotations for own recordings, or use a method lik...
I've started a hobby project which is to detect and count the number of impacts (for example someone clapping, bouncing a ball or hitting a boxing bag). I've been reading and playing around (in java) with a few variations of total amplitude, FFT, IIR etc but with so much information and concepts to grasp (I'm normally ...
I have an application where I do this: DFT->Filter->IDFT on a range For computational performance I'm zero-padding my FFT to a power of two, but when I take the IDFT I want to get out an interpolated image instead of the zero-padded image. A minor detail, is that the IDFT is performed over only a certain frequency win...
I need to detect a known number of simple markers (chessboard patterns) in a color image efficiently. I implemented normalized cross correlation (NCC) as a pixel shader via WebGL since I need this to work in a client application in a browser. Detection works fine and is sufficiently robust, but I need better performanc...
I want to implement Wiener filter. I have original image and image blurred with linear motion. The one thing I am lack of(to implement it) is Noise power spectrum. I know that it is hard task. I've took a look on different papers: Kenneth M. Hanson - A simplified method of estimating noise power spectra. Felix Krahmer...
I was wondering if someone could maybe clarify or direct me to the best answer for this question. I want to estimate velocities from position data. However, the position data is fuzzy but I have an idea of its uncertainty. My initial sense is that one is supposed to use some iteration of a Kalman filter, but from my...
How do we define convolution of: $$x(t)= \mathrm{sinc}(W t)$$ and $$y(t)= -j\mathrm{sinc}(2W t)$$ Answer: In the frequency domain, both of them are rectangular functions and multiplication of them is equal to the rectangular signal with smaller bandwidth i.e $x(t)$, which means convoluted signal is $\mathrm{sinc}(W t)...
I have a cosine function - Hence it is even. Considering only the real parts of the DFT, on performing DFT, I am getting something like this. Could anybody tell me where I am going wrong: DFT: Please let me where I am going wrong with the implementation
I'm trying to filter an image vertically to get the edges, in MATLAB, but I get very different results from convultion and correlation. CODE: vf = fspecial('prewitt'); iyconv = imfilter(im, vf, 'replicate', 'conv'); iycorr = imfilter(im, vf, 'replicate', 'corr'); result in the image below, why does the convultion on...
I understand that the question I am asking seem the be somewhat related to another question which has been asked already. But I feel that this is an entirely different question. I have a huge (over 100K data points) time series data of the position (x, y coordinates) of an element in space. This element is vibrating r...
In the context of bit timing synchronisation in digital communications, what is meant by the requirement that says the "Time to lock to a sampling point should be no more than X symbols"? There seems to be no information about this issue online.
I am doing impedance measurements, where I do a frequency sweep of a test current, and I measure the resulting voltage. Offline, I compute the FFTs of the voltage and current, and I want to make sure that the voltage is above the 'local' noise floor. I don't care if the signal at the test frequency isn't the biggest, a...
A common estimation problem in signal processing assumes the following signal model \begin{equation} \mathbf{r} = \sum_{i=1}^{Q}\alpha_i\mathbf{s}\left(w_i\right)+\mathbf{n} \end{equation} where $\mathbf{s}(w)$ is a known vector function, and $\mathbf{n}\sim \mathcal{CN}(0,\sigma^2\mathbf{I})$ is white Gaussian noise ...
Many times we have a stream of video to process without access to camera. Having access to camera matrix would be beneficial for various processing techniques. Is it possible to hack camera calibration without having access to the camera? I have a stream of video from a single camera mounted on a moving car recording t...
I'm starting a project where we will have to analyze bird recordings. We will try to measure the birds activity using the audio. The recordings are really long (around 24 hours each) and recorded in IMA ADPCM WAV. All files are about 1.5GB each. When trying to import them into MATLAB, it simply locks up because of th...
I want to generate the "projection" image described as bellow. The left picture is the original picture and the right image is what I want. But, I have no idea about how to generate the right image. I know that OpenCV can only generate affine effect, so I know that only OpenGL or Matlab can generate this effect. Howeve...
I've been asked to recreate the square and sawtooth wave shown below: And I've managed to recreate the square wave form but I can't seem to get my sawtooth wave to match. % Input Variables L = 31; % Input Length A = 1; % Peak Value N = 10; %Input Period % Define omega and time vector t omega = 2*pi/N; t = 0:omega:(L-...
Is there an algorithm which can give the frequency and phase of a three phase signal (three phase voltages) without using zero crossing detection. I mean an algorithm which is done in open loop.
This question is for people working in multi rate signal processing. Using compressive sensing techniques, we can still recover a signal by sampling below nyquist rate(by decimating the signal). How is that possible, can you explain? There are some answers available on the web , but I want to hear it from SE group. pha...
I have the input signal $x(t)$ And impulse response $h(t)=20 e^{-1000t} u(t)$ in which u(t) is the unit step function. When I try a convolution, I thought the solutions would be something like: $ \begin{array}{ll} \int\limits_{0}^{t} 2\cdot 20e^{-1000(t-\tau)}d\tau = \frac{1}{25}(1-e^{-1000t}),& 0 \le t < 2 \\ \...
I am reading the book "Multiple input describng functions and nonlinear system design" written by A.Gelb and W.E.Vander Velde. At some point it says: Single-valued characteristics are termed memoryless; multivalued characteristics are said to possess memory. I am a bit confused about the meaning of the 'memoryless' ...
Internet is very much costly in India , like 3-5 USD per GB @ 3G networks and even in broadband 100 USD for a unlimited banwith for 2 MBps but here DTH (Direct-To-Home broadcast service ) is very common and cheap , like 4$ for a month with most of the channels . I think to buffer a 480p video we would need 200 KB/s (2...
I have a ricker wavelet with a dominant frequency of 15 Hz. The fourier transform shows its frequency band is almost to 50 Hz. How can I narrow the frequency band of this 15 Hz ricker wavelet? I have added a picture of the wavelet and its fftshifted frequency band (The x axis is not the frequency samples).
I am currently reading chapter 13 of 'Adaptive Signal Processing' by Widrow and Stearns, so if anyone happens to have a copy of the book to hand it could be helpful. I am reading the chapter on "Introduction to Adaptive Arrays and Adaptive Beamforming" and am struggling understanding the auto-correlation/cross correlat...
I am doing several research for a prototype which I will be building. My prototype will consist of single word speech recognition and comparison with a preset recorded words. The prototyped system will then ask the user to say a the word and give a percentage match. I am hoping to build this prototype with JAVA, howeve...
I am building an LPC analysis tool, and am at the point of needing to do pitch period analysis. I was initially interested in using the Gold & Rabiner algorithm for this, and got a hold of a FORTRAN implementation. Before I start converting that implementation to a modern programming language, I was curious if anyone...
I have a filter to detect when a slow moving signal (oven temperature) reaches steady state. I am using a linear regression of a moving window and looking at the slope. Based on the equations for linear regression including $\sum xy$, $\sum x^2$ and $(\sum x)^2$ I am thinking this is a non linear filter, is this true? ...
So I'm given a pass band filter with specific transfer function $H_p(f)$, I want to implement this via baseband processing. I already know how to take the input signal $u(t)$ and process it such that I get the I/Q components $u_I(t), u_Q(t)$. I also have figured out that the following convolution relation holds for t...
I met an great confusion. Using below command I have got co-efficents for a 300Hx cut-off high pass filter of order two. [z p k] = butter(2,(300/44100),'high') [sos,g] = zp2sos(z,p,k) Now this sos co-efficients are differ from what is obtained by fdatool. As explained here https://dsp.stackexchange.com/a/19553/786...
I would like to implement a somewhat smarter Laplacian edge enhancement convolution. Right now it is implemented as (generic 3x3 convolution): sum = 0 for k = -1 to 1 do for j = -1 to 1 do sum = sum + h(j +1, k + 1)*f(x - j, y - k) end for end for g(x, y) = sum Looking for way to improve to implementation ...
I'm trying to implement an algorithm in which I first pad each row of the image with a fixed amount of new pixels in a certain range, apply Gaussian smoothing to the row cumulative histograms in vertical (y) direction, and thus obtain new cumulative histograms for each row in the end. After having obtained the new row ...
Describing my background: I have around 33 items labeled. For example, 3 pictures of the contour of a basil plant, 4 pictures of the contour of earphones, 7 of a mug, etcetera. I'm trying to calculate N Fourier descriptors of a random picture in order to compare them with the other items, making the average of the dist...
This question follows from an answer to this other question: Conceptual question on FFT and chirp signal I wrote a code starting from the spectrogram to compare it with the FFT result. % Chirp generation t = [0 0.5 1.0 1.5 2.0]; % time breakpoints f = [0 200 100 150 300]; % instantaneous frequency breakpoints p = poly...
Can someone give my a link to study to solve this problem. I can not find any formula for this problem... Suppose we filter singals with the below pre-emphasis filter: $y(n)=x(n) - ax(n-1)$ How can I compute $a$ if I know that: fs=10.000Hz length 100 in which 98 is zero. Frequency response at 2100Hz is 1.3429 dB I do...
I apologize if this isn't the correct Stack on which to ask this question, but it seemed like the best fit. I've tried to Google an answer, but I haven't been able to find anything that applies directly to Es/No, or which is written in a way I can understand (ie, the mathematical formulas on Wikipedia are beyond me at...
I am building an LPC analysis tool for speech synthesis and did the following to generate my a0 through a10: sum = 0 for (i = 0; i < N - order; i++) { sum += s[i + order] * s[i] } So, for an example sequence: s[0]: -0.00036988587817177176 s[1]: -0.0005228677182458341 s[2]: -0.002549876691773534 s[3]: -0.005284426733...
I want to design/implement a simple feedforward/feedback all-pass filter, and I am having some troubles and questions with it. From Shroeder design (based on J. Smith article here): I came up with the following pseudocode (for first-order all-pass filter, meaning the delay was set to 1 sample, and b0 = aM): float a...
I'm wondering what basic characteristics of shadows are. I'm looking from a camera image/video processing point of view. I'm considering the case of an outside scene in direct sunlight. These are the characteristics I could quickly come up with, but I guess there are more. There are strong edges on the shadow borders ...
I am working on an arabic OCR for printed scanned documents ... Some of the scanned documents may written with font size of height 8 which is quite small ... I want to resize the height to 60 pixels but some artifacts may occur due to nature of arabic characters .. some characters may overlap .I had used local threshol...
I'm a complete beginner to object recognition. I need to identify and count how many of a certain type of Lego, in a picture full of different pieces of Lego, using MATLAB. The pieces of Lego I need to identify, are of a certain shape, colour and size. I need suggestions for algorithms that can perform this task, and ...
Does anybody know a simple way to recognize vowels from MFCCs? (not words, just phonemes: a,e,i,o,u). I heard this is a vastly known problem in DSP with several solutions like SVM, GMM and cosine distance. I tried this last method using a good audio processing library and a representative training set, but seems that ...
I'd like to simulate a certain $E_s/N_0$ in a baseband OFDM MATLAB modem to generate SER curves. I randomize 50 QAM symbols with $N$ subcarriers each in frequency domain, add null frequencies (guard bands) to each symbol, perform IFFT and then add CP. Then I convolve the "time domain" symbols with a certain channel wit...
I'm hoping someone - anyone can answer a question on the Siglib library call to perform an FFT on data. There's no examples anywhere I can find that provide a real application using data from an ADC, so that's where my wheels are spinning. The examples from Numerix have only canned data, generated by the function SDA_...
how do you compute the channel gain from path loss index in wireless communication?
As far as I know, bandwidth is measured in herz or 'radian/second' in digital signal processing or in analog communications. But in computer networking it is measured in 'bits/second'. I don't get how these two are related. Can anybody please help?
I made this question https://dsp.stackexchange.com/questions/19731/newbieplotting-fft-and-impulse-response-coefficients-using-java I have the IRC: Impulse Response Coefficients: $h(k), k = 0, 1,.., N-1$ Low Pass: $h_D(k)=\sin(k\omega_c)/{k\pi} , k\neq0; h_D(0)=2f_c$ High Pass: $h_D(k)=-\sin(k\omega_c)/{k\pi}, k\neq0; h...
As known, we can get a 'phase spectrum' from the DFT of a input signal. Assume, we do a DFT on a given equal interval sampled 50Hz AC signal, the signal is a complete whole cycle, but the start sample point may at any point. And I get the amplitude and phase from the DFT, but what's the reference point of the phase?
I would like to measure the time delay between two signals. By applying the cross correlation I get the time delay or number of samples by the location of the cross correlation peak, however I am interested to know what peak value itself identifies ? I get a large value for the cross correlation peak. Thank you!
I'm trying to implement the VAD algorithm in this paper: http://ms12.voip.edu.tw/~paul/Papper/Steganography/iLBC/(VAD)Real-Time_VAD_Algorithm.pdf I'm polling a microphone on an Android phone, and getting short[]'s which I want to perform operations on. The audio data is 16bit PCM data. I've gotten the basics of the al...
I'm doing vehicles tracking project. The video is a one-way, no vehicles occlusion. After doing background subtraction, erosion and dilation, I get bounding box objects for each frame, and I can find $centroid(c_x,c_y)$ from that. So, the next thing I want to do is blobs tracking. Here is what I'm thinking on how to do...
I was reading through the Ambiguity function, and I was wondering if it's possible to calculate analytically (or numerically) the ambiguity function of a sum of sine waves. In case of a single sine wave the envelope is a rect(), hence the ambiguity function is a $sinc()$ with variables the delay time and the Doppler fr...
Hi there I'm trying to measure time delay of one percussive event recorded by two contact mikes on a glass surface. I decided to check the cross correlation (via FFT) and detect the index of the max in the function. The method is really jittery as the medium affects the transfer function of the signal. I wonder if ther...
I would like to implement the example code from SigLib's example "fsk.c". The defines are below #define SAMPLE_LENGTH ((SLArrayIndex_t)512) #define NUMBER_OF_LOOPS 4L #define SAMPLE_RATE 9600.0 #define BAUD_RATE 1200.0 /* Number of samples ...
What would a straight-forward way to convert an audio payload (PCM 16bit) from 6 kHz to 8kHz? I understand that this is an interpolation problem. I fear that a linear interpolation would introduce too much noise. If so, what would be a better interpolation? I was looking at Lanczos resampling but I've seen it used in ...