instruction
stringlengths
31
27k
I am trying to apply a Butterworth bandpass filter to accelerometer data of my smartphone. However, the accelerometer samples I receive do not come at regular intervals. Sample frequency varies between 1 Hz and 128 Hz in as little as a second. I read the source code of a few Java implementations of Butterworth, but all...
I'm trying to get the spectrum of my signal in dBFS units. I'm not sure what is the refernce that I should devide by. I computed the power spectrum as follows: 1) FFT normalized to the number of samples p = abs(fft(signal))/(No_of_samps/2); 2) and then I calculated the power spectrum for half of the samples (one-sided...
Woud anyone have a viterbi decoding tool or c-code or .m file for (R=1/2, K=4)? I am trying to decode a bitstream received in RFSTUDIO from a non-TI transceiver and it says that it uses this kind of coding. Regards Vangelis
I am trying to filter out some square wave signal to within a limited band (1/4 or 1/8 of the original), I realized that there's a lot of ringing in the wave when I use my filter (elliptical), I also tried Butterworth, and others (given in Matlab fir1, and classic iir filters) but the only filter that seems to give no ...
I have some data which looks roughly periodic - is there a nice way to measure this? This is an example I'm working on and I'd like a metric that I will be able to just threshold to give a decision of yes or no. I was thinking maybe looking into the Fourier domain or looking at correlation. Many thanks. [NB - I've cro...
I came across this 2D filter for enhancing circular dots in images, for example to enhance a dot with a diameter of 5 pixel, the filter is: $\frac{1}{336}\left( \begin{array}{ccccccc} 0 & 0 & −21 & −21 & −21 & 0 & 0\\ 0 & −21 & 16 & 16 & 16 & −21 & 0\\ −21 & 16 & 16 & 16 & 16 & 16 & −21\\ −21 & 16 & 16 & 16 & 16 & 16 ...
I am facing a problem on how to separate amplitude of sine signal and compare with other sine signal having same frequency but different amplitude. How can one write a code for this?
In "duo-binary signalling" how exactly is the transmission capacity increased? Because , when we encode the binary bits, the bit duration remains the same, but the amplitude will change. Then how can the transmission capacity be better?
Everyone uses Fast Fourier Transform, which is fast at the detriment of precision. The input audio has sample accuracy and the FFT has 1/64 sample accuracy. What algorithms can output high resolution frequency analysis of audio that varies over single samples, and that can divide input audio into i.e. 1024 bands of dif...
I have read that in speech signal processing analysis when voice is segmented in brief temporary segments the series segments transitions from being non stationary to stationary. My question is if this is also the case for financial data when this data can be segmented in smaller and smaller time spand windows (stock m...
I have a signal that I measured by optical means using a focused laser. The laser scans over a microscopic feature (in step size of 0.33 micron) and I have plotted the result of the measurement as a function of distance (x scale is microns): Signal image: I am interested in the width of the feature I am measuring, how...
Hi I don't know where to start from. I'm trying to implement a plot of noise with MATLAB. I have found a plot of noise standard deviation sigma vs. brightness from a images in the blog post - Profiling Sensor and Photon Noise. But I think I need to some reference to implement profiling as above. I also encountered the...
I would like to implement path loss propagation model in a cellular network scenario. I know that the path loss can be modeled as follows: $$\mathrm{PL}(d)\propto\left(\dfrac{d_{ij}}{d_0}\right)^\alpha,$$ where $d_0$ is a reference distance and $d_{ij}$ is the distance between transmitter $i$ and receiver $j$. My que...
In an OFDM transmitter, after IFFT & CP block, a DAC block is used.Since the output of IFFT is complex, and the input to DAC should be an integer, how can we integrate the two blocks? I implemented OFDM (upto CP block) in MATLAB but I could not integrate DAC with it. Regards Ehsan
Here is my task: Find inverse z transform of $X(z)=\frac{1}{2-3z}$, if $|z|>\frac{2}{3}$ I need to find it using definition formula, $x(n)=\frac{1}{2\pi j}\oint_{C}^{ } X(z)z^{n-1}dz$. How can I find it? Result is $-\frac{1}{3}(\frac{2}{3})^{n-1}u(n-1)$
My input signal is given by $$ x[n] = A\sin(2\pi f n/F_s + \varphi)$$ The signal is uniformly sampled at a sampling rate of $F_s $[Hz]. However some of the samples are missing. Assume that there are not many missing samples and that their location is known (i.e. I know the timestamp for each sample), I am interested i...
I have calculated, with FFT and A-FFT, the autocorrelation of a discrete signal (coming from an integration) with spacing $\Delta T$ composed by $N$ samples padded to $2N$ with zeroes. What is the resolution of the autocorrelation? Is it $\frac{\Delta T}{2}$? What is the time interval of validity of the calculated auto...
I need recommendation about complex analysis book. As I'm electrical engineering student, it should cover everything one engineer need to know about that mathematical field, but without strict mathematical formalism.
I have computed magnitude and phase spectrum of cameraman Gray scale image using fft function. Here, we get magnitude and phase spectrum of the whole image. .Please see the reconstruction of image from phase only part from the accepted answer of Image Reconstruction:Phase vs Magnitude which says that in an image neig...
I have two sequences x and y of lengths, say 5 and 10. I multiply them in time domain element by element. I get another sequence. Now this as per the convolution theorem should be equal to the inverse z tranform of the convolution of the two z transforms of the original sequences. Now, I know how to get the ZTs of ...
Consider the 2D signal below I would like to find the changepoints in the signal (using a hierarchical approach). Based on our visual observation, we can see there are 2 main changepoints where the signal 'starts' and 'stops' and we could argue there is potentially another one where the red starts to come in. We could...
Suppose I have a discrete time signal $x_t$ sampled with a frequency $f_s$. I know that if I take the discrete fourier transform of the signal and compute the power, I can easily (by visual inspection) determine which frequencies are the most important ones in the signal. I know that the signal is the superposition o...
Let us consider $x_1(t)$, $x_2(t)$, $x_3(t)$, all the same within some some duration 0 to $T$ but all different outside this interval. Now let us multiply each of these signals with $w(t)$, a window function - nonzero from 0 to $T$ but 0 outside this interval. So the multiplication of this $w(t)$ with each of $x_i(t)...
I wanted to write e^(-1000|t|) in matlab title of a plot. When I entered this and ran it actually, it showed ( as a superscript and every thing else in the line in regular font. Now I wanted the whole thing -1000|t| to appear as a superscript. I tried bracketing etc and finally I achieved what I wanted by inserting ^...
I programmed a sample accurate spectrogram some time ago and i still have never seen a picture of another one. It's interesting maths, i was told it's trivial, so why has no one else posted research on sample accurate sgrams on the internet? Can you find one. Here is a pic of my version: this is the same program with...
We know that integration gives area under the curve. And that FT is also an integration. How do we interpret FT in terms of the area under the curve especially because e^(jwt) is a complex term? In general, while dealing with complex terms in integration can we relate to some area?
I'm currently trying to implement some of the methods found in this paper on intelligent equalization - http://www.aes.org/e-lib/browse.cfm?elib=16792 - The first part of the process is to build a "target equalization curve" via the means of "averaging the spectra of all songs in the dataset". In MATLAB, if I do the f...
Hello I just started learning Signals and Systems and I have a question regarding periodic signals. For instance: $x(t) = \cos(3.2t) + \sin(1.6t) + e ^{j2.8t}$ is periodic because of the HCF of the frequencies.($0.4$ rad/s) and $x(t) = \cos(4t) + \sin(\pi t)$ isn't because of there is no common factors between $4$ and...
I have a set of ultrasonic frequency that I am playing and I want to detect these particular set of known frequencies. I have already used fft but it is quite processing intensive and I am facing problem when I implemented it in real-time. Then I used Goertzel algorithm with threshold values which worked fine in real-...
Many papers using blind source separation algorithms solve the inherent scale and permutation indeterminacies of the estimated mixing matrix using an "optimal method", however this method is never explained. How does this work? Thanks in advance
I want to know how to estimate the noise of an image? Also is this represent the camera's noise? Does anyone know how to estimate the noise of an image or camera? Update: Especially, I want to know about the A, B, C from as following. How Can I plot these A, B,C curve? Also I want to know what is C. What does C mean?
I'm developing an Android app which uses USB soundcard for input and output. The audio processes are in the native (C++) side. The device's bit resolution is 16. I get the audio stream from the device as unsigned char* and have to convert them to float between -1.0f and +1.0f to process. I do the conversion but it soun...
I'm trying to implement an iterated filter bank as described in the Subband coding chapter of the Really Friendly Guide to Wavelets. However, the text seems to suggest that The advantage of this scheme is that we have to design only two filters, the disadvantage is that the signal spectrum coverage is fixed. My under...
In the image below there is the waveform of a clean, strummed guitar note, where the absolute value of the amplitude values has been taken. At the point marked there is a momentary spike in amplitude before the continuation of the downward trend (there are a few other points like this in the waveform). I was wondering...
I have an image (that is a matrix), let's say of dimensions NxN. I then want to expand this matrix into M basis matrices (for the moment I'm still unsure how many M of these basis matrices I should assume) of the same dimensions NxN, that is analog to basis expansion of a vector into basis vectors. But as for the base ...
I have a question for you that maybe you could give me a clue. I'm trying to make a CBIR (Content-Based Image Retrieval), so I query an image and I get the most similar, not classified within a database of around 2000 images. I'm trying to extract features and matching them by euclidean distance but I was going to try ...
I have segmented CT images, something like the following one: I would like to get a convex hull that contains all the white regions. Something like this circle, but more fitting, and of course not necessarily a cicle. I've already tried this example https://stackoverflow.com/questions/11813352/finding-the-convex-hull...
I want to approximate below signal using Fourier series on Matlab. My code is below close all clear all clc a_0 = 0 t=-10:0.001:10 x_t = 2/5 T = 10; w0 = 2*pi/T numOfTerms = 100 plot(t, x_t); for k=1:numOfTerms-1 a_k = (1/(w0*i*k*T))*( exp(-1*i*k*w0)-exp(-3*i*k*w0)+ exp(-7*i*k*w0)- exp(-9*i*k*w0)) x_t = x_t + ...
I applied the kernel below to the picture for unsharp masking k = [-1 -1 -1; -1 8 -1; -1 -1 -1] I got ! Then I changed 8 to 14. And I got How does kernel work for unsharp masking the original picture and what does exactly do the number in the middle ?
I am a beginer. I have read that any given signal whether it is simple or complex one,can be represented as summation of orthogonal basis functions. Here, what the terms Orthogonal and Basis functions denote in case of signals?
I have a basic question about stochastic processes: When some informations such as wss, uncorraleted sampled, white about random signal (say x[n]) are given, what do we exactly have? For example white information: I know if x[n] is white, its power density function $ P_{x}(e^{j\omega}) $ is constant value independent ...
A digital low pass Butterworth filter that has been designed using Bi-linear transformation has been a pole at $z=0.6$. It is also known that the filter's attenuate (at digital frequency) $\omega = 1.2$ is about $44$ dB. Find the filter order. Give at least one other pole of the digital filter (in Z domain).
Can anyone give me some hints to solve this problem
The quadratic performance surface of an adaptive filter is a paraboloid. Its minimum can be found wherever the gradient is zero. However, since there are two types of paraboloids (elliptical and hyperbolic), is there a way to tell if the minimum detected is a global minimum or just a saddle point?
Does anyone know of some simple algorithms to linearize the phase response of a filter. I have a notch filter with a non-linear phase response. I basically need an all pass filter (so that the magnitude response is unaffected) whose phase response is such that it neutralizes the non-linearity of the original filter.
Does anyone know of a way to design a filter with arbitrary magnitude and phase response in Matlab?
please can someone help me to define a method that allows me to estimate the power of noise in any signal? the signal is received by usrp and the problem that it is variable all the time in the FM band so the noise is variable also with frequency and time thanks in advance for any help
I'm attempting to construct a difference equation in matlab for the function u(n) and find the auto-correlation matrix R. I'm following the technique as is defined by my text below: The system I'm trying to model is also defined by the text below. My a1 and a2 are different. I have it defined in Matlab as is shown be...
I have a signal, fs = 100; % Sample frequency (Hz) t = 0:1/fs:10-1/fs; % 10 sec sample x = (1.3)*sin(2*pi*15*t) % 15 Hz component + (1.7)*sin(2*pi*40*(t-2)) ; % 40 Hz component when I take fft of x then its amplitude and phase spectrum ar...
In http://en.wikipedia.org/wiki/Bilinear_transform#Example, digital version of simple RC low-pass filter is presented: $$\frac{1 + z^{-1}}{(1 + 2RC / T) + (1 - 2RC / T) z^{-1}}$$ where $T$ is sampling interval. Let me reorganize by $A = 2RC/T$, and get the following: $$y(n) = \frac{x(n) + x(n-1)+(A-1)y(n-1)}{A+1}$$ But...
I don't even know how to start. We're supposed to find the differential equations that links $V_{in}$, $V_{out}$, and $V_{io}$, as well as the values of $C_1$, $C_2$ and $R$ so the filter works in the audible spectrum. We're allowed to use Fourier transform, if that simplifies anything. I thought of splitting the band...
I measured that a 2-pole band pass filter, given imput audio of different frequencies, outputs an audio signal with different time delay. At 440Hz, the time delay between of the input audio and the output audio is something in the order of (1/440)*200000 = 454 samples and at 1Khz it's about (1/1000)*200000 = 200 sampl...
I am a beginner in design of digital filters... I have just completed Coursera's Linear Circuits course! I have a signal which is sampled at 50 Hz where the DC component has a value of 800000 and there is some noise with a standard deviation of around 200. The DC component should remain constant but it may change very ...
Does anyone know what is the inverse function of soundsc in matlab. I'm playing a sound with a my PC microphone using soundsc, and I want to capture it in another PC using the inverse function. Thank you very much for help.
I want to generate the following periodic sequence: h[n]={1,2,3,4,0,0,0,0,1,2,3,4,0,0,0,0,1,2...}. I am planning to generate this as an impulse response of a filter with an order no more than 8. I start by finding the z transform of h[n] but this is infinite sequence and can't achieve an order less than 8. Any hint wi...
Suppose I have a sinusoidal signal of the form $x(t) = a\sin\left(2\pi b(t-c)\right) + d$. I understand $a$ is the amplitude, $b$ is the wave number, and $c$ is the phase shift. I know that the term $d$ shifts the entire signal vertically, but does it have a specific name in signal processing?
It's a common problem that while talking with the another person on Smart phones with the help of regular headphones,we get very annoying sounds at background . The opposite person's voice gets mixed with full of such noise signals to such an extent that sometimes it becomes literally impossible to continue the convers...
What is the difference between neural network and deep neural network in speaker recognition .Can i have an example of code sur Matlab thank you
I do not specialize in signal processing so I wonder if there is any references to the following procedure. Let $[n]=\{0,1,\ldots,n\}$. Consider the function $f:[n] \to \mathbb{R}$ and $g:[kr] \to \mathbb{R}$, such that $\operatorname{supp} g = \{0,r,2r,3r,\ldots,kr\}$. Assume for simplicity, $n/r$ is a integer. We are...
Signals acquisition: Two proximity sensors are positioned Orthogonal to each other. These would be measuring the vibrations of a rotating shaft. Problem: Each of these 2 signals has two dominant frequency components (2441 Hz & 762.9 Hz ) in it. I don't know the phase and amplitude information. I'm interested in findin...
I have a system with the following input/output relation: $$ y(t)=x(-t) $$ and I want to prove (not graphically/draw) that its not time invariant (TI). I tried to write down $y(t-T)$ and compare it to the response to $x(t-T)$ but I get both terms equal which shouldn't be the case.
I'm trying to looking the meaning and functionality about scaling function and wavelet function at wavelet analysis. I have googling already. But I can't find and understand the meaning. What does those affect to analysis? Does anyone help me to understand roughly?
I am trying to compile C++ code for FIR filter design using Parks-McClellan algorithm from http://www.iowahills.com/Example%20Code/NewParksMcClellan.txt . However, I cannot find the following header files: "FIRFilterCode.h" and "Main.h" referenced in "NewParksMcClellan.cpp". Does anyone have experience compiling this c...
I have two different images for the same object. Each one was taken from different device (scanner, mobile camera, professional camera ..etc). the process of registeration one of them to the other was done correctly. Now I need to do a subtraction between to them for comparison purpose. The problem that is the contras...
I have been working on a project with a vide variety of functions for DJ'ing. I am nearing the end, however, the accuracy rate on the key detection part of it is not pleasant when fed tracks of Dance music. With classical music, the algorithm returns a very better accuracy rate. First of all I must explain how I never ...
Typically, We do wavelet decomposition with the last one level. But I wonder, why do decomposition withh the last one level? In the other word, why not stop with the first decomposition level?
I am a beginner. I do coding in Matlab only for image processing purpose. But my friends say it is very slow and in OpenCv I could get multiple times faster output results compared to Matlab.In basic reference book like DIP by Gonzalez and Woods ,they have used Matlab for programming. So is Matlab the best coding tool ...
I believe that answer to "Can poles of z-transform transfer function be zero to eliminate transient response?" is no, but I am not sure why it's no.
In the book by Sayood on compression, he says "if the set is complete, it is called affine wavelets". I want to know what is meant by completeness of wavelets.
I have a homogeneity image that includes two regions $\Omega_1$ and $\Omega_2$. How to represent the image by decomposition of two regions? For example, the famous way is representing by the mean feature. Image $I$ can be represented as follows: $$I=u_1c_1+u_2c_2$$ $c_1$ is mean of region $\Omega_1$ $c_2$ is mean of ...
How does SDR resolution translate to audio resolution when using FM demodulation? For example: using a 8-bit/2.048 Mhz IQ stream, what is the maximum audio sample rate and bit depth that can be generated from a +/-75kHz mono WFM signal with 20kHz audio? My understanding is that the SDR bit depth is irrelevant but for l...
I have only magnitude spectra and group delay information and I need to sketch phase spectra from this information. For example, group delay is given like this: $\tau_{g}(\omega) = c$ where c is a constant value. I know the group delay is the derivative of minus phase function of the system. In this case, phase functi...
As I know , wavelet decomposition behave with halve. I mean that a way like this HH HL LH LL. But I wonder, how to corver the all spectrum when it was halved? I think if it want to all cover spectrum then it might be needed infinity halve. How can cover all the spectrum?
What is the difference between $X(j\omega)$ and $X(\omega)$ notation? What is the meaning of $j\omega$? Does it represent frequency, and if yes, what is the meaning of an imaginary frequency?
I got a problem when I was trying to denoise a signal. Actually, it is a simple simulation. The signal is the addition of a step signal (The info I wish to get) and a sinusoidal one (the noise I wish to remove). See below However, I tried different parameters of using the adaptive filter, it simply cannot filter out th...
I am studying DT-FT. But I cannot figure out why we use $X(e^{j\omega})$ instead of $ X(j\omega) $ in DT FT Thanks in advance..
I am trying to implement FSK Modulation. For bit 0 and 1, I defined a frequency wave (for instance, for bit 1, c = cos(2pift), with t = 0 : 1/fs : (1/fs)*N - 1/fs, where fs is the data rate). When I'm simulating, c is remaining constant (only value 1 for cosinus). Why ? Because If a use a sinus, it is not remaining con...
I am trying to use fixed point to implement the function 1/x for the integer from 1 to 2048. My plan is that I use fixed point representation for some picked integers as entries in one lookup table and use linear interpolation obtain missing integers. About picking integers, more integers will be selected at high curva...
In my audio processing lecture, the term s-space came up. My instructor basically told us that it's a space where we perform calculations that couldn't be performed otherwise in the time space. Although he also mentioned that the s-space doesn't have a physical meaning or at least none that he is aware of, I'm curious ...
I am trying to make a system that detects footsteps. First I filter and decimate the original signal, then I make a convolution between the filtered signal and a single footstep, then I extract the envelope (here I have a threshold of 1 and if the peaks exceed this threshold then it means that those are footsteps). The...
I'm projecting a series of points onto a surface and then recording their locations in the corresponding image. However, if one goes pixel by pixel a single point may, at times, take up multiple pixels and would thus be recorded multiple times. What is the best (least error prone) way to determine the location of a p...
The signal $x_a(t) = \cos(2\pi450t)$ is sampled. F = 450 Fs = 1000 Hz f = F/Fs = 450/1000 // Sampling theorem is fulfilled x(n) = cos(2*pi*(450/1000)) The signal is then down sampled with a factor 3. fNew = f*3 = 450*3/1000 = 1.35 xNew(n) = cos(2*pi*1.35) Now the signal is prepared. How to make an ideal reconstruct...
I use imageJ software, imageJ has a EXP command (process >math >exp ). original image: output image processed by EXP command in imageJ software: in this link explain how do that ImageJ: http://imagej.1557.x6.nabble.com/Process-gt-Math-gt-Exp-td5009733.html How can I do that in matlab? It is the matlab code which I w...
I have been trying to achieve a Hamming window length of 23 using the equation. I tried several coding, one of the is the one below: M=23 w = .54 + .46*cos(pi*(-M:M-1)'/M) plot(w)
I need to extend lines over the image space. I used Hough transform to finde vanishing lines, but i need to get lines longer and see where is vanishing points. How can i do it? Please help. This is my code: clear; clc; I = imread('22pp.jpg'); %rotI = imrotate(I,33,'crop'); bw_I = rgb2gray(I); BW = edge(bw_I,'canny')...
I just finished learning about Fourier Transforms and don't understand this signal: $$x(t) = \cos(\omega t)u(t) $$ This is a cosine wave but only where $\omega$ is positive. My question is what can I do to figure out the output when the impulse response $h(t) = e^{-2\pi t}u(t)$ ? I first try to break $x(t)$ up using ...
I am using the following code to plot a window: m = ((33-1)/2) n = -m:m w = 0.54 + 0.46 *cos(pi*n/m) stem(0: numel(w)-1, w) This is giving the following plot: Now I tried zero-padding the window with 200. I used the following code: m = ((33-1)/2) n = -m:m w = 0.54 + 0.46 *cos(pi*n/m) w_zp = padarray(w, 200, 'pre') s...
I am trying to convert the continuous time transfer function of a second order lowpass Butterworth filter is given by: To a bandpass fourth order bandpass digital filter, I first apply the mapping to bandpass: We therefore obtain the bandpass continuous time transfer function In order to convert this to a digita...
This was a question from an exam of digital image processing: "Working with low contrast images, an elective method to enhance details and improve contrast is to apply in cascade an equalization of the histogram and a sharpening filter technique. a) Does the order of application of the methods matter? Justify b) Which ...
I'm driving a white noise signal $e(n)$ through an AR random process: $$ x(n)=e(n)+\sum\limits_{k=1}^N \alpha_k x(n-k) $$ I got five values of $\alpha_k$ and plotted its power spectrum in Matlab for $\omega$ from $0$ to $\pi$. Then I generated the realizations of $x(n)$ with 10000 samples Now I'm trying to get the est...
All physical channels are band-limited, such that, X(f) = 0 for |f| > W A Gaussian Channel is limited in both power and bandwidth. For this reason we encounter phrases, such as, "A band-limited Gaussian Channel" (for e.g., in the opening statement of Channel Capacity theorem). I have two questions: Why/How a Gaussia...
I understand how the discrete cosine transform is used in image compression in standards like JPEG. However, the concept of wavelets is a mystery to me. I do know that wavelets are functions that have a wave like functions with value >0 only for short intervals of time, then they vanish. That is why they are called wav...
I am just branching out to taking the power spectrum of short-term audio frames ($20$ ms) in order to extract useful audio features. I have been reading about Welsh's method which states that after computing the squared magnitude of the result, the individual periodograms are time-averaged which reduced the variance o...
I found this equality in the middle of my DFT calculation. Can anyone help me to proof this. $ \frac{1}{N} \sum\limits_{k=0}^{N-1} \left(-W_N^n \right)^k \ = \ \delta[n-0.5 N] $ where $ W_N = e^{j 2 \pi/N} $
I would like to implement a Rayleigh fading channel for an ASK Modulation. My question is concerning the receiver. How to properly add every tap at the receiver to keep the same length from the emitter. For instance : Emitter : binary frame : 1*N Channel : six taps : M*N (where M is the number of taps) Receiver : 1*N ...
I have two splited images from diference matlab files. Now i need to merge them, near to each other. I tried supblot, imadd,cat methods, but nothing works. Please help me. rezult after sublot experiment.
Suppose I have a signal which varies between two frequencies (which represent a stream of binary data). I think this is called BFSK. I have the entire signal already sampled. Let's say each 'bit' lasts 10ms. My plan was to have bins of 10ms, and do FFT to find the dominant frequency, and deduce the bit from that. My pr...
While decomposing the impulse train using the Fourier series the number of the samples are infinite hence representing a infinite length of train. But while studying the Nyquist Criteria in the frequency domain it is shown the expression to have $m$ samples where $-\infty<m<\infty$ While studying the concept of the N...
I designed the filter below on paper: FIR low pass type 1 length 3 alpha = 6 beta = -12 allow freq. <= 0.1rad/sample blocked freq. >= 0.4rad/sample To confirm that my calculations are correct I was planning to design the filter on MATLAB. Is there a function to design this filter, apply an input frequency and check t...
I am new to DSP and filter design. I have developed a code in C++ to calculate FIR coefficients using Parks-McClellan algorithm. The inputs to calculations are: Filter type (Low-Pass, High-Pass) Passband Freq [Hz] Stopband Freq [Hz] Passband Ripple [dB] Stopband Attenuation [dB]. I got a new requirement for inputs, n...