instruction stringlengths 31 27k |
|---|
I have a problem in which i have a video that was taken from the side of the subject, something like this
and i need to transform the coordinates of the subject to be as if the photo was taken from above like this
I have the real set of coordinates that i can relate to from picture 2 to picture 1 , i only need to ... |
I don't unstand the nature of the output in Matlab's "butter" command. Calling
[b,a] = butter(4, 0.5, 'low');
gives me two vectors, which the documentation says are b for numerator, and a for denominator, of the transfer function.
However plotting the frequency response of this transfer function with freqz() does not... |
I'm learning about Gaussian Mixture Model (GMM) for background subtraction.. And have some questions about it..
In Chris Stauffer paper "Adaptive background mixture models for real-time tracking" Gaussian probability density function is
$$\mathcal{N}(X_t,\mu,\Sigma)=\dfrac{1}{(2\pi)^\frac{n}{2} \left|{\Sigma}\right|^\... |
I'm trying to develop a sudoku solver, using image processing, ocr with neural networks and such. I've got the bare solver working, I can successfully interpret numbers and letters from a picture. All of this is done in GNU Octave. Now I am trying to make it more robust, and I've found this question on stack overflow w... |
For a project I am attempting to use an accelerometer to measure vibration in an RC aircraft and determine frequency from the result. To do this I am using an MPU-6000 accelerometer sampling @ 1000Hz. Before I actually deploy this system on an aircraft, I have taped the sensor to a speaker and used a frequency generato... |
I am implementing some feature extractors in Swift for an application. One of these features is Spectral Centroid. For some reason I keep getting values ranging between 0.45 and 0.5, and these don't really reflect what I'm playing through the microphone. I can see why it's close to 0.5 when there is nothing playing as ... |
I'm busy trying to implement a filter from this paper. I'm a bit confused with one particular step (30e in the paper).
Basically I need to find the zero frequency gain (K) of the following whitening/comb filter:
The relevant steps in the algorithm are:
and
where $q^{-1}$ is the unit delay operator, $\omega_0$ is th... |
Directivity pattern of a microphone array is fourier transfrom of microphone weight values. By modifying the amplitude weights, we can modify the shape of the directivity pattern.
I can really see this when all microphone weights are equally valued.
Fourier transform of a rectangle is a sinc func like picture below:
... |
I am reading over and over the Section 1.2 of most understandable mic array tutorial for me .
A sound wave is dependent on time and space which can be observed in the great link.
But I can't understand why the Fourier transform of the spatially sampled data gives the directivity pattern of the microphone array (whic... |
I am building an application that would "listen" to the microphone input, analyse it, and compare the analysis to a pre-analysed and pre-classified sound bank (small - maximum 20 sounds). It will then show the user what sound it was.
Now, I have a vague idea on how to implement this. I would like to choose a set of fea... |
I know adding zeros will not increase the frequency resolution. I have couple of waveforms in time domain measured over months. I take the fft of the waveforms to find frequency components. The problem is I get several points around each peak, but only based on visual check i found that the real peak is not the one hit... |
I am really confused about oversampling and upsampling. I know that upsampling means stretching our signal in time domain by a factor of K, then interpolating some values or using just zeros. As I found out stretching in time domain is shrinking in frequency domain by the same rate. For example, stretch by factor of 2 ... |
Problem: I'm getting totally different MFCC coefficients for identical and near identical sounds like several finger snaps or several desk taps. What am I missing? I thought since the timbre doesn't really change, the coefficients wouldn't be that much different.
I'm using the aubio library to extract the MFCCs from mi... |
Some poeple claim their background subtraction algorithms use Gaussian Mixture Model,
but when I read the code, I find they actually use only one component,
and as a result EM algorithm (or its approximated version) is not taken to fit the model.
An example can be found here.
This configuration is commonly adopted ... |
I'm using a good fast FFT implementation (vDSP) that will only work on power of 2 blocks of audio data. Now I have a problem where I would like to be able to apply the calculations to non powers of 2 audio.
Some degree of reading around suggests that I can do this by breaking the DFT into smaller power of 2 blocks.
... |
[Sorry for the noobish question...]
I have a signal which is known to be generated by a process operating at some known rate $f$ Hz and the sampling rate is also know to be $K$ Hz. Now I do a periodogram of the signal and its first peak (aka fundamental frequency, right?) closely corresponds to $f$ - so I'm quite happ... |
I have a transfer function $$H(z)=\frac{1+1.2z^{-1}+0.8z^{z^-2}}{1-0.9z^{-1}}$$ from which I'm supposed to sketch the magnitude and phase response. I know that you can transform $z=e^{j\omega}$ to get the frequency response, but I don't really understand what it means. The magnitude response is then $$\left|H(e^{j\omeg... |
I'm working on a sampler software (that plays .WAV files, when notes are played on a MIDI keyboard).
In order to implement pitch-bend feature (i.e. you have a "pitch bend wheel" on the synth and you can turn this wheel to retune the sound in realtime, classical effect used in funk music),
we have to:
Retune: this is ... |
I have an audio file, of which I calculate 16 (actually 15 because I omit the first one) MFCCs in R. When I stream this file via VLC-Player and Icecast2-Server, receive it in Java (with the Player of Javazoom-Lib) and then pass it on to R again for MFCC calculation I get completely different values? Has anyone an idea ... |
I am trying to test the sub-pixel accuracy of an optical flow method and need to generate some synthetic data to do so. I start with an image $I_0$, which is a Perlin noise image and a set of sub-pixel ground truth flow fields to apply, e.g. rotation around the image centre. I want to produce the most faithful image, $... |
Suppose we have a signal like that and we want to know when a burst have happened. Rigth now our approach is pretty straightforward. We measure std of signal at some time window and then with each new signal bin we measure it's difference with respect to previous and if it's much more than std, then we have found our b... |
The OFDM baseband signal can be demodulated since each subcarrier is orthogonal to another. But In SFN system, i.e., Single Frequency Network, all OFDM signals from several transmitters are in the same frequency domain, which breaks the orthogonality.
So without some technology like CDMA, the OFDM sigals from each tra... |
I am about to do a lot of a recordings when performing tests. The thing is that there are some parts I would like to extract easily from my recording. Is there a way to play some special sequence of sounds, for example few beeps, and then search the whole recording for those markers?
In the end I want to obtain file w... |
I have a noisy signal in I/Q format with a peak frequency that constantly changes between 0.5Hz and 4Hz. The sample rate is 64Hz. I want an output showing the current peak frequency with a maximum lag of about 1 second.
This is my first attempt to solve this problem with FFT, and the question is: What is required to m... |
I am reading Cycle Analytics for Traders by John Ehlers and need help.
in the first section "Transfer Response" he refers to:
so if I had $4$ prices say $8+8+8+8$ then average would be $8$ and output/input $= 8/32 = 1/4$
but not equal to $1/4 + 8/4 + 8/4 + 8/4$ so I think I've misunderstood?
I don't want to infringe c... |
I am trying to code a Variable Delay (chorus/flanger) effect in MATLAB using a paradigm that would be friendly for porting to a lower level language like C. What I currently have is a working echo/delay that uses read/write indices to write into a buffer. I'm now trying to use an LFO (low freq sine wave) to modulate ... |
I'm using a lowpass to bandpass filter transformation:
$$ s \leftarrow Q \left( \frac{s}{\omega_0} + \frac{\omega_0}{s} \right) $$
Based on the wiki article: http://en.wikipedia.org/wiki/Prototype_filter which basically is a change of variable. But I was wondering how this transformation is derived?
The reason being I ... |
I am using GNU Radio C++ source code in my app (pm_remez()) for generating FIR filters coefficients.
Input parameters here are: bands[], des[] and weight[].
How I can manipulate stop band attenuation in pm_remez() function?
|
I just want to know what kind of information does Curvature suggest to us? I've seen an article that used from the curvature of an Image. I can't understand what's the purpose of the author or it's better to say that what kind of information Curvature has.
Can anyone help me to handle this problem?
The link of the arti... |
In the below picture, the measurements are inside the $\pm 3 \sigma$ bounds. In my experiment, the measurements sometimes go out of the uncertainty bounds.
This is a snapshot of my plot where the red is $\pm 3 \sigma$ bounds (i.e. $true \pm 3\sigma$ ), the black is the measurements, the blue is the true value and th... |
I have a signal of bandwidth DC to ,say, 100 Hz. I am interested in the range DC-10 Hz. I oversample by a factor of, say, 30. Thus the sampling rate is 600 samples/sec. Then I bandpass filter and decimate it over a number of stages, say 3 stages (e.g. by a factors of 5, 3 and 2). Thus I get the original signal.
This gi... |
According to Oppenheim's signal and systems solution book and other solutions like this
$$
Ev(\cos(4\pi t)u(t)) = 1/2 \times ( \cos(4\pi t)u(t) + \cos(4\pi t)u(-t)) = 1/2(\cos(4\pi t))
$$
$$
\textrm{for }-\infty < t < \infty
$$
is periodic and its period $1/2$.
But I think it is not equal $ 1/2(\cos 4\pi t) $ at $ t... |
$y$ is scalar observations and so C will be a 1x2 matrix.
I want to represent the following model as a state space representation so as to estimate the hidden states from the noisy observations $y$ using Kalman filter.
The state space model :
x(t+1) = Ax(t) + w(t)
y(t) = Cx(t) + v(t)
w(t) = N(0,Q)
v(t) = N(0,R)
... |
I was doing an exercise trying to compute the PSD of the following discrete autocorrelation function:
\begin{equation}
r_x(m) =(1/2)^{|m|}
\end{equation}
In this simple matlab code that I came up with to compute the PSD, I'm getting something that I don't quite understand, why is my frequency response oscillating?.If... |
I am working on my project and I need to have a Sinc Interpolation function for a real world image. But, it seems that I have not caught the concept of Sinc interpolation. Could some one help me with this issue? this function is for adding some value among samples or it is used for reconstructing? How can I use this fu... |
I would like to know what are the advantages/disadvantage of zero padding with respect to frequency measurement and amplitude measurement
|
I have written a vocal pitch shifting algorithm which uses LPC to separate the signal into its spectral envelope (predicted by the coefficients) and the pitch information (the residual error).
My understanding (and intuition) was that the residual signal would be unintelligble, but if I listen to the residual created b... |
I am working on OCR. I have extracted features of 26 alphabets, and I want to compare them with an experimental character feature.
I have tried using Euclidean distance and correlation functions, but I am not getting good efficiency. What are some alternate methods for the same?
|
For a school project I'm working on instrument classification on multi-instrumental tracks. To do so, I'm following Arie Livshin's modus operandi, and I would like to get a good software to perform source separation: given a multi-instrumental short extract, getting n (with n being equal to the number of instruments) t... |
Aliasing of tones higher than the Nyquist frequency, and where the tone may have some degree of nonlinear distortion can appear as low frequency 'drift' or even near static bias in the sampled signal.
Also it's known that integration of a signal with a large component of white noise results in random walk - a 'drift' l... |
Say there is a system with open-loop transfer function
G(s)=1/(s−1)
. The system is definitely unstable.
If I put any nonlinear system in cascade with G(s) and from the output, a negative unity feedback. Is it possible to make the system close-loop transfer function is stable? It is assumed that the higher order harmon... |
I'm an electrical engineering major and I have a question regarding a project I'm working on.
I'm supposed to design 3 band-stop filters on MATLAB for echo cancellation/suppression.
My problem is not filter designing, but with taking acoustic measurements of a classroom since I have little or no information in that are... |
Suppose there is a bounded continuous signal $f(t)$ that can be fourier-transformed into $F(\omega)$ of frequency contents. $|F(\omega)|$ is non-zero for only finite number of frequencies: $f_1,f_2,..f_n$. Using a filter, we want to retain zeroes of $|F(\omega)|$ at frequencies other than $f_1,..f_n$, but we want to ma... |
The wikipedia page for Average Magnitude Difference Function/Formula (AMDF) appears to be empty. What is an AMDF? What are AMDF's properties? What are AMDF's strengths and weaknesses, as compared to other pitch estimation methods such as autocorrelation?
|
I have a second order analogue high pass transfer function (unity gain at infinity). It's magnitude response hits the -20 decibel line at a frequency of 5706 Hz (the corner frequency is 18000 and sample rate is 44100). When I convert this analogue filter to a digital IIR via the BLT method, the digital filter's magnitu... |
Background: My overall goal is to create an audio file player which can playback an audio file at an arbitrary rate. The rate can change continuously as the file plays. This means upsampling to slowdown the playback when the rate < 1, and downsampling to speedup the playback when the rate > 1. (I'm not concerned with m... |
I'm trying to implement an IIR form to approximate the Gaussian Blur Filter.
I'm working with the article "Recursive Implementation of the Gaussian Filter" by Ian T. Young and Lucas J. van Vliet.
They suggest a form and way to calculate the coefficients as given by:
I'm trying to reproduce their example for $ q = 5.0 ... |
I have a signal $x(t)$. I want to find the Fourier Transform of it, $X(f)$, and then extract a narrow frequency range from $X(f)$ by use of a Band Pass Filter (BPF) in frequency domain.
Can I instead filter $x(t)$ by using a BPF in time domain and then find the Fourier Transform of the filtered signal?
I believe these ... |
Definitions
For an ARMA model
$$x_n=-\sum_{p=1}^P a_px_{n-p}+\sum_{q=0}^Qb_qw_{n-q}$$
where $w_n$ is zero mean stationary white noise with unit variance.
It is straightforward to show that the autocorrelation of $x_n$, $R_{XX}[r]$ is given by:
$$R_{XX}[r]=-\sum_{p=1}^P a_pR_{XX}[r-p]+c_r$$
where
$$c_r = \begin{cases}\... |
I am currently working on an image classification project ,where i need to use bag of features model with libsvm(HIK kernel) for classification.I have extracted sift feature and created a visual vocabulary,my fetaures are double values.But LIBSVM works with only integer values.Can anyone please help me with this?
|
I am simulating an 8-QAM communication system over an AWGN channel for various signal to noise ratios, in order to plot the average bit error. However I have not been able to derive an equation for the QAM system in terms of the Q-function.
The 8-QAM system is rectangular with 2 possible values for the x basis vector a... |
I need to compute frequency of a signal from zero crossing.It's possible to compute to frequency from zero crossing of a signal.
Plz anybody help me about this with matlab .
|
I read Chris Stauffer paper "Adaptive background mixture models for real-time tracking" about Gaussian Mixture Model for background subtraction, but they're not explained very detail about $ω_{i,t}$ value, what I want to ask is how the value initialized and what the range of it?
|
In order to clip an image's histogram to a maximum value, according to the CLAHE algorithm, the excess pixels (above the clip limit) will be distributed equally among all the histogram bins (While keeping track none of the bins exceed the max limit of course).
Now, when working with (8,8) region size and distributing 1... |
Let's say I have a signal, containing frequencies up to $30$ kHZ.
I am sampling this signal at $40$ kHz with infinite bit depth (just for theory).
Will I be able to recover exactly all the frequencies up to $20$ kHZ , or is that the signal must only contain frequencies below $20$ kHZ to get the exact magnitudes of the... |
I am wondering if one can assume that a digital image has a tensor structure. I mean for example when we talk about isotropy in image processing, we are talking about the intensity arranged in a tensor like structure; having coordinates and values as opposed to a matrix which carries only information about values.
Why... |
I was trying to implement skew correction method for scanned documents using the method described in this paper.
The algorithm steps:
1- Threshold the image .
2- Find the fourier transform.
3- Divide the frequency space into 4 quadrants .
4- Calculate the angle of each quadrant.
5- if detected angle >= 45 then final an... |
I did the auto-correlation for an image by Mathematica.
The auto-correlation function shows rings as follow..I am sorry that I can not attach the original image here.
From the following auto-correlation one, what kind of information can we get or guess for the original image??
|
I suppose that OFDM can't modulate analog signal. The basic mathematical description for OFDM is
$$ v(t)=\sum_{k=0}^{N-1}X_{k}\exp(j2\pi k t /T),\quad 0<t<T$$
In this equation, $X_k$ is a discrete value.
So OFDM can not modulate an analog signal.
|
When did we decide to sample telephone at $8$ kHz? Has this always been the case? Why did we do that? Is it because higher bit rates can't be transferred as quick? And do these reasons still count? And if not, why isn't there a new standard yet? Is it true that $8$ kHz is the lowest possible sampling rate to transfer u... |
I've two signals X and Y. These are proximity sensors reading measuring vibrations of a rotating shaft. Now I want to plot orbit plots for these signals. I can plot unfiltered orbits with just X and Y. But since there is lot of noise in the signal I filtered it. Now there are dominant 1X frequency component and may be ... |
I am learning DPS and I came across the problem of deconvolution and removing the impulse response from a signal? This still does little sense to me.
My understanding of the impulse response is to find out the response, usually in frequency, of a device, a filter, a room etc. If I don't mess things here, to me, the imp... |
I'm sorry if my question is too simple, but I am self-studying FIR because we have to report it in our class. I am using the book of Proakis and Manolakis as reference.
Under 7.2 Structures for FIR systems:
In general, an FIR system is described by the difference equation
(7.2.1)
or evidently, by the system functio... |
I have the problem of masking tinnitus. I have the following questions:
Can broadband noise mask tone tinnitus, or any kind of tinnitus (such as narrowband, or chirp)?
Assume an audiogram test has identified tinnitus as tonal with loudness level of $x$ dB and frequency/pitch of $y$ Hz. How can I create broadband noi... |
I am implementing a voice morphing system, but I am having difficulties getting a good quality output signal. The method I am using is LPC analysis and synthesis. In theory, the LPC process should split the signal into a source/filter representation by calculating a residual and a set of filter coefficients.
However, ... |
Everywhere I read about the FFT, I read about frequency bins. I can't find anything about what is precisely meant with 'bin'. What I wonder about is if this is actually meant to imply that the FFT returns binned data in the sense of the word as used in statistics.
I think this question can be rephrased into this exampl... |
I am new to phase analysis, recently I have been trying compare the phase between the input signal and output signal of a system. From the code below, I simulated a square wave and plotted the phase, from basic theory, I thought that since this is a simulated signal, I should get near zero values other than the values ... |
My question is, do the smoothed values affect the estimates obtained from the Maximization Step? If not then we could eliminate the smoothing. Once the estimates are obtained, they do not change apart from substituting the smoothed values $x_n^s, P_n^s$. So, why do smoothing?
|
I am doing some simulations on the performance of OFDM systems in multi-path channels and I am confused about something. It is explained below:
Assume that we have a multi-path channel with a number of taps equal to $L$. Each tap has a power of $\sigma$, hence, the total power in the multi-path channel in time domain i... |
I'm trying to convolve two signals $x(n)$ and $h(n)$ in C by using the FFTW library's functions to perform a Fourier transform on each, multiply the appropriate complex components together, and take the IFFT of the resultant product. Unfortunately, my IFFT'd result isn't correct, and I'm not sure what I'm doing incorre... |
I'm trying to remove what looks like a checkered noise pattern that has been added to an image. Comparing the 2D FFTs
The one on the left is the original, while the middle one is the corrupted one.
I've been trying to remove the added bright spots on the diagonals. The far right FFT is my attempt at isolating the dia... |
Looking at DVB-T2 technical specifications I see that sub-carriers spacing has, in the worst case, a value of few hundred hertz, (something like 279 Hz). 32K sub-carriers are used to reach such a low value. I suppose that complex PAPR reduction algorithms plus strong constraints for carrier frequency stability are need... |
Why we take different MFCC components in different programs? Suppose, in a program we take No. of mfcc components = 14.What does it signify?
|
I have question regarding Rician fading simulation. I am trying to develop Rician fading channel simulator in LabVIEW, but I ran into some problems. I have complex sinusoid as my line-of-signs signal. Then I generated white gaussian noise samples for I and Q components which represent one scatered wave. I added this sc... |
After reading the paper Phase retrieval algorithms: a comparison by J.R.Fienup. I implemented the Error-Reduction Algorithm in MATLAB. The initial phase input was randomly generated, so the final recovered image in each execution is different. The only information given is the Fourier Modulus of the original image.
Som... |
what reason could make the noise/effect in this image?
Below is the original
Thanks!
|
I am trying to apply FFT on a time domain signal in C++, however I am having trouble with the imaginary part i.e square root of -1. In the FFT equation we have,
$$X =\frac{1}{2\pi}\int_a^b x(t) \ e^{-j\omega t} \ dt$$
we know that:
$$
e^{-j\omega t} = \cos(\omega t) - j\sin(\omega t) \tag{2}
$$
we also know that:
$$ ... |
So I have an image.
I take it into HSV format and v has its intensity values.
now the intensity values of v vary from 0 to 1 (Black to White)
I want to divide v into 3 parts:
1] v1= with intensity values 0<v<0.3
2] v2= with intensity values 0.3<v<0.75
3] v3= with intensity values 0.75<v<0.1
How do I do this?
|
Question:
Formulating a Maximum likelihood estimator:
So, the likelihood will be
$p(y;\mathbf{h}) = \frac{1}{{(2 \pi \sigma_\eta^2)}^{T/2}} \exp{(-(y - y_0(t))^2)/ 2\sigma_\eta^2}$.
Then, I need to differentiate w.r.t the unknowns and equate to zero.
This is a nonlinear equation in $x$ and cannot be solved directl... |
I want to write an algorithm to implement a pitch-shifter, like in this article: http://www.guitarpitchshifter.com/matlab.html. And I need to do it in realtime, not with a signal already defined earlier. I don't understand if I need overlapping in STFT to play the sound back.
Why can't I just record, say, 1024 samples... |
The plot of the data from the wav file.
Link to the sound file - https://drive.google.com/open?id=0BxAPlY66uX7qWWtDZUw3WkpjSGs&authuser=0
Also the FFT plot is like this
I am new to the field of digital signal processing.
I have a .wav file in which I have recorded the breathing sound in a closed environment. I am tryi... |
I'm new to DSP and I have a wav file with a number of different frequencies playing at different volumes. I'd like to plot the power of the 350Hz frequency signal at each point in time. The source is rotating so should see the power rising and falling periodically. To start with I broke the signal up into windows and t... |
I could infer from books and wiki that a matching pursuit finds signal approximations from a redundant dictionary. Let f be the signal, ai be the basis and Ri be the residue.. here we choose the inner product of f and ai to be max such that Ri is less. What do we do next. what do we iterate?
|
I am trying to check whether this black circle is exist or not on my images.
My current approach is like that;
Hough Circle detection
Crop the outer roi
Adaptive threshold
count zero pixels
if ( zero pixels >500 )
black hole exist
else
black hole does not.
I just want to know is this method useful if thi... |
I have a biquad filter, configuread as a low-pass filter (using Zolzer's formulas, similar to these). It does not overshoot and decays nicely in what I assume is -40dB/dec.
How can I device a calculation, that takes not only desired_cutoff_frequency as a parameter, but also desired_decay_slope?
|
I am given $|H(\omega)|$, I wonder if minimum phase stable causal filter is unique and how to calculate it.
|
Please forgive my bad English.
Hello, I'm trying to understand Shibatch's super equalizer Winamp plugin source,
but I'm not good at DSP and mathematics.
It seems that super equalizer plugin uses overlap-add method to evaluate FIR filter.
The code that calculates the FIR filter coefficients in super equalizer is like th... |
I am trying to develop an application which records the voice of someone through a microphone. I will have a preset recorded voices for the same words. I then need to compare the real time recorded voice with the list of recorded voices and output a similarity in percentage format.
I did a lot of literature research a... |
I have an image with few pixels in length and height. For this image I calculated the two dimensional Fourier transformation. What I got for the frequency spectrum in one direction was a very frequency spectrum with very few points (no continuous first derivation).
To increase the number of points of the frequency spe... |
I am doing digital signal processing for a software defined radio. I have a signal coming in packets of data (several samples) at an average sample rate of approximately some known value FSin. I am given a request for packets to be sent out periodically, with an average rate out of approximately FSout. If I knew these ... |
Is there any algorithm for identifying the noise in an image
I have to identify whether the noise present in a mammogram image is guassian or salt& pepper.
|
I am implementing Perona-Malik Diffusion in using the formulas:
Creating image at time k+1 using equation
This is my implementation:
function gij=g(duij,lambda)
duij=-(duij.^2/lambda^2);
gij=exp(duij);
end
function deltauij=gradMag(u)
xx=[u(:,2:end),u(:,end)]-[u(:,1),u(:,1:end-1)];
yy=[u(2:end,:);u(end,:)]-[... |
Assume you have 77777 pictures that are mostly noise.
They are about magnetic anisotropy.
There is one picture among these pictures which has high contrast difference between two large areas (some sort of magnetic gap because of magnetic anisotropy).
One area is gray and the other area is dark.
The pictures are mos... |
I am making an low-frequency oscillator (LFO) that should be able to output different kinds of waveforms.
If I, say, want to be able to create a smooth transition from a sine wave to a square wave, what would the best approach be?
I have thought about creating several hardcoded lookup-tables and "scroll" between thes... |
Say I learned the theoretical result of continuous time Fourier transform. And I want to extends some results(say "convolution rule") to
Lapace transform,
Z transform,
DTFT,
DFT,
Fourier sequence etc.
Then really, I just need to remember how one works and derive the rest. How to do this as a general principle? Is ther... |
I want to write an algorithm to add pitch-shifted version of audio signal to itself (like Electro-Harmonix POG does). And I need to do it in realtime. How to implement it?
My guess is: break signal into pieces, get FFT of each piece, copy each of the frequencies in the original signal (for example, for 1 octave up shif... |
As part of a research project, I have been tasked with determining gait speed (walking speed) for a subject using a handheld iPhone. The main constraint is that walking distances are very short (10-30 meters), and accuracy is critical (data is used for research.) Using a pedometer and measuring step distance is not an ... |
I am working on noise cancellation in ecg signal and I want to calculate the Signal to noise ratio(SNR) before applying filter to the signal and after applying filter i.e., snr_before and snr_after. I used the following commands:
snr_before = mean(input_or_desired_signal.^2)/mean(noise_signal.^2);
residual_noise = desi... |
I need to implement a locally adaptive threshold algorithm on a grayscale image in matlab. I use a sliding window over the image and calculate the threshold for the block using Otsu's method, which works well for blocks with non-uniform intensities.
However, when I apply this method to blocks with uniform intensities, ... |
My dissertation supervisor ask me to code this.
r1=.3;
r2=.5;
xh=[0.00001:.01:.21];
yh=3.2*xh-0.8;
A=2*r2*xh;
B=2*r2*yh;
R=sqrt(A.^2+B.^2);
C=xh.^2+yh.^2+r2^2-r1^2;
z=C./R;
zz=sqrt(1-z.^2);
theta2=atan2(B,A)+atan2(zz,z);
theta1=atan2((yh-r2*sin(theta2)),(xh-r2*cos(theta2)));
plot(xh,180*theta2/pi)
hold on
plot(xh,180*t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.