instruction
stringlengths
31
27k
GOAL: I would like to approximate some positive, scalar function, $f(x,y) > 0$, on a 2D field of finite size i.e. $x=[a,b],y=[c,d]$ OBSTACLE: I am familiar with the set of basis functions used in the Fourier series but using the Fourier series requires too many terms. Infinitely many:) Instead, I desire to find a colle...
I had some success with feature-based methods for image registration, but these methods are sometimes unsuitable (e.g. images containing repetitive patterns, very low contrast, low texture, no edges/corners). I am therefore looking for a direct (pixel-based) global alignment alternative. So far I looked on algorithms l...
I have taken a basic course or two in signal processing and I've seen the Nyquist sampling theorem - an interesting and surprising result giving sufficient conditions for reconstruction of a reasonably regular signal in terms of spectral support. I was told there are many much deeper results in this field than this can...
I have a signal as the below figure. I am looking for some schemes to approximate the signal. I have found some ways for that task: Using basis function (polynomial) to approximate the signal Divide the signal to many subrange, and assume that the signal in the range is constant. Could you suggest to me the other w...
Here are some problems: Does it mean these is some relationship among neighboring pixels? I've read about DCT has a property of de-correlation, I have a doubt whether it means DCT neighbor coefficients have no relationship? I've read some paper which says difference 2D-array(DCT coefficient subtracting by its neighbor...
I have some doubts. What is the difference between quality parameters MSE and PSNR? Which is used when? Is there any advantage of PSNR over MSE or vice versa? Also I have heard people saying that MSE and PSNR should never be used to check image quality. Instead one should use UQI and SSIM. I read about UQI and SSIM a...
I have a little bit confused on the difference between stationary wavelet transform and un-decimated wavelet transform. So, can anyone tell me, if there is a difference between them?
I'm working on a focus stacking program, I wrote one a few years ago which used a very simple method, basically taking a DoG approach, but only operating on the single full resolution image. The resulting images had a soft focus look, kind of dreamy. This time I researched further and found papers describing image pyr...
Why are the observation features (namely MFCCs) of an HMM-based recognition/synthesis system modeled by a Gaussian distribution? Even the state duration is modeled by a Gaussian in this paper: K. Tokuda et al., "Speech synthesis based on hidden Markov models", Proceedings of the IEEE, May 2013
In an algorithm, voxel classification approach is used to perform image segmentation. The aim was classifying voxels either as cartilage or background in MRI image. The project has to be completed in matlab. MRI images has .dcm extension, it may have .avi and other types too, I am not sure. Is it possible to perform v...
I wanted to add Additive White Gaussian Noise (AWGN) and involve effect of slow flat fading on my transmitted signal in Matlab. I created noise with zero mean and variance of one by awgn_noise = random('norm',0,1,1,NoOfSamples); Then I created Rayleigh fading by rayleigh = sqrt( (random('norm',0,1))^2 + (random('norm'...
Anyone know what references might have information about the history of any particular filter design? Since seeing just the equation or implementation hinders the process by which the filter (such as the biquad filter) was actually discovered.
I'm thinking of the typical stereo widener (haas, binaural) effects here, those that extend from the typical pan knob to create "out of the headphones" -experience. These processors can be automated to move sounds around, but I was wondering whether there was mathematics that described how to set the delays in order t...
Hyper-spectral images are images with many bands $(\ge 100)$ while the normal color images have only three bands $\rm (r,g,b)$. It is not difficult to simulate an artificial gray-scale image with the following Matlab codes: width = 200; height = 200; img = ones(height,width)*10; img(floor(height/4):floor(height*3/4),f...
Different smartphone devices have accelerometers manufactured by different manufacturers. Say I want to categorize vibrations recieved from various devices into one of the following scales : LOW_MOVEMENT MEDIUM_MOVEMENT HIGH_MOVEMENT How can I devise a scale such that - LOW_MOVEMENT of one device is LOW_MOVEMENT ...
What are Leslie speaker / "rotary" style of digital audio processors doing? I think a simple one would model: Delay between speaker and a pair (stereo) of microphones. The tonal change when the speaker rotates (LFO modulated filter and amplitude modulation). But what (more) is there really?
I've read that modifying the bin values in the frequency domain after a FFT poses problems that lead to glitches when one takes the signal back to time domain using iFFT. This is caused iirc because the modified data does not align "continuously" anymore to the bins (and discontinuities $\implies$ artefacts). Because o...
OTSU is a very popular image binarization method, and Matlab provides a function to implement this method, see graythresh for details. In this function, it has two outputs, one is the threshold calculated with OTSU algorithm, the other is called effectiveness metric EM, and it claims: The effectiveness metric is a ...
I'm trying to learn more about voice recognition, and I was looking this library here and noticed there were two implementations of MFCC (one called mfcc and another called mfcc2). I ran both of these on the same data and got different results, and was wondering why there are two different version of MFCC that give two...
I do not know how to create sturct variable in Maltab from column vectors. I have three column vectors, Voltage1 (32768x1 double), Voltage2 (32768x1 double) and Voltage3 (32768x1 double). I would like to create 1x1 struct variable with 3 fields (Voltage1-32768x1 double, Voltage2-32768x1 double and Voltage3-32768x1 doub...
Anyone know if the Bode frequency shifter has been studied somewhere. I just used an audio plug-in called EchoBode from SonicCharge and this is claimed to use a frequency (pitch) shifting algorithm inspired by the Bode frequency shifter. The pitch shifting quality on this is pretty darn good I think, thus why I'm askin...
I was trialing this audio plug-in from SonicCharge (there's a program demo in the site). It claims to be based on a delay line and uses some logic to modify it: At its core is a 12-bit digital delay with variable sample rate from $0$ to $352\textrm{ kHz}$. The delay is controlled by a programmable processor that allow...
I am implementing the 1D Kalman Filter in Python on a fundamentally noisy set of measurement data, and I should be observing a large amount of smoothing...but, instead, my Kalman Filter is doing the exact opposite of smoothing, so that my filtered results look like this: And since my "model" is just the simple trend f...
The Hilbert transform is a procedure that can be used to perform a 90° phase shift on a signal. Is the computation of (a discretized) Hilbert transform a "lossless" process? I.e. it merely phase shifts the signal, but does not alter it in any other way. The reason for asking is that the following picture here looks lik...
I know what a delay is, but what's a delay line? What's the reason for calling it a "delay line"?
I am learning Wiener filtering for 2D images by myself. From one book, it reads It should be noted that the study of the more general problem of signal denoising dates back to at least Norbert Wiener in the 1940s. The celebrated Wiener filter provides the optimal solution to the recovery of Gaussian signals contaminate...
However, I don't understand what the subscript '4x' or the parameter (0,0) stand for. Could anyone explain ?
I'd like to compute the response to a step function of a electrical/thermal system. Generally I can "easily" compute the transfer function $H$: $$H(\omega) = \frac{V_{out}(\omega)}{V_{in}(\omega)}$$ Since the Fourier transform ($\mathcal{F}$) of the Heaviside function is (computed with WA): $$\mathcal{F}(\theta(t)) = V...
i want to create a Saliency Map based on itti model via OpenCV(Python). what i'm doing is that: 1- first i change image color space from RGB to LAB color space 2- for each color channel, i create a Pyramid with 6 level 3- from bigger image to smaller, first i make them a fixed size, then differ them via cv2.subtract co...
I'm currently designing a knock sensor for my FSAE team's car and I'd like to be able to test various software strategies with a fairly realistic signal (at least more realistic than a couple sine waves added together with some white noise). From some reading, the frequencies I'll be getting will all be related to a f...
I have two finite signals $x[n]$ and $h[n]$, I want to convolve these signals using the method defined in Example 2.2 of Signals and Systems by Oppenheim. I am getting this answer $$ y[-3]=4, y[-2]=11, y[-1]=12, y[0]=8, y[1]=0, y[2]=-2, y[3]=-2, y[4]=-1 $$ and when I tried to solve this question using the method defin...
eg. z=conv(u,v) where u is the input signal encoded in 24KHz sampling rate and v ,the impulse response encoded in 44kHz . z is played at 24KHz rate . In the convolution function ,we basically perform a convolution of input and impulse response samples.But reading across the net, I found that for convolution the input a...
everyone fs=30 000 , fc=3000; when i code apply this in matlab result is very difference [b,a]=butter(2,3000/30000,'low'); b=[0.020083365564211 0.040166731128423 0.020083365564211], a=[1 -1.561018075800718 0.641351538057563] but when i suddenly remember in matlab use nyquist sampling so , when i do apply fs/2 , resul...
In finance, many "indicators" are used in order to make prediction about if a price has an increasing or decreasing trend over time. Among them, MACD is a popular one. There are many slighlty different definitions (standard rolling mean vs. exponential rolling mean, etc.), but one of them is : the price is $x[n]$ (l...
There're 4 type of FIR to chose from symetry ,even symetry ,odd antisymetry, even antysymetry, odd Also, there are many type of window like rectangular, Hanning, Kaiser,etc So how to use a window function to design the N-length filter and what's the point of doing it? That's what my teacher ask me to do but I don't ...
DSP is more kindred with electrical engineering than with computer science, how ever there are topics of DSP like MP3 encoding, JPEG compression and sound analysis can be understood by a computer engineer (with a previous strong math background in Z transform and Fourier series). For a BS in computer science that only ...
I've been learning about the FFT and about the usefulness of windowing functions. A problem I'm running into is the affect of windowing functions on the amplitude of signals in the FFT. For example, lets say I have a signal that is equal to: y = 5.0 * sin(50.0 * 2.0 * pi * x) + 1.0 * sin(80.0 * 2.0 * pi * x) And then ...
I know that when I have a discrete time signal, let's say: $$f(t_n),\;t_n=\dfrac{n}{F_s}$$ The definition of the DTFT is given by: $$F_n(\omega)=\sum_{n=0}^{N-1}f(t_n)\cdot e^{-i\omega_nt_n}$$ Now, my question is regarding $\omega_n$. I know the frequencies will be discret because we can't measure lower frequencies th...
I want to get the fundamental frequency of a signal. I used a time domain approach first. It just sums up the differences between the signal (lets say 2048 samples) and the delayed version of the same signal. I think it's not quite what autocorrelation does because I don't pad the signal with zeros or do circular convo...
I am following the open-cv tutorial and they claim that: In HSV, it is more easier to represent a color than RGB color-space. after which they convert the image from BGR color model to HSV, claim some color region as blue and bitmask based on that. My question is: why is it easier to represent color in HSV model?
There is variety of loudspeakers on the market that have built-in microphone so that they can produce sound and perceive it at the same time (and do it surprisingly well). How they managed to overcome audio feedback problems?
This posting describes two methods of edge detection for wave analysis in a water pipe. I am not sure about advantaged and disadvantages. Therefore I want to evaluate the best method for this application. So please suggest new ones or judge the suggested. Situation: There is a constant water flow through a pipe (horizo...
How are redundant training data handled during the training stage? For example, assume we have one observation for phone $\theta$ in the training set. Then the training (for a monophone) is done with: $$\lambda_{max}^\theta = \text{arg} \max_\lambda p(\bf{O}|\lambda) $$ where $\bf{O}$ is the observation sequence and $...
The transfer function of a system is given by: $$\large H(s) = \huge \frac{V_{out}(s)}{V_{in}(s)}$$ In digital domain the principle is of course the same, just replace laplace transform with z-transform and voltages with amplitudes. The transfer function, when converted to time domain, solves the impulse response of th...
I have been working on Active Noise Cancellation in real time for Air vent in kitchen. Initially for the demonstration purpose, I am using sinusoidal sound ( 40k Hz Fs,1000 samples, 2 kHz frequency, 1 Amplitude). I am using simple LMS Algorithm initially to test this, I could produce the anti noise with the same freque...
A sinusoidal signal of 600hz is sampled with 1khz, If the sampled signal is applied to an ideal low pass filter of 500 hz, what is the output?
I measured a signal coming from a LED using a sensor. The signal is Amplitude Modulated, so I expect its spectrum to be moved by the carrier frequency. I am trying to explain the symmetric harmonics that appear in both sides of the peaks. I believe they might originate from the Fluorescent lights of the lab. I made a ...
i try to calculate the $\mathcal z$-transform of $x[a-n]$ (where $n$ is my variable) i can't find any transform. the best suited transform is $x[-n] \longleftrightarrow X(z^{-1})$ i took the sum definition of the $\mathcal z$-transform but i couldnt find.
I want play and record a sine sweep. When i have both signals the recorded one and the send one i can create a Transferfunction. That is what i know so far. $$ H_0 = \frac{OUT}{IN} = \frac{Y}{X} $$ Where i'm stuck is that when i read about the Transfer function it is all about the $Laplace \, transform$ (and sometimes...
I want to estimate the SNR of a bipolar signal. I know that each bit increases the SNR at 6 dB. Do i have to subtract one bit for sign, so that for bipolar signals the SNR is (n-1) x 6 dB ?
I have many audio files @ 22kHz. I want to convert it to 44.1kHz. Since I have many files to convert, I am looking for an easy solution. I came across ffmpegwrapper for python. I installed the package for python. But I couldnt find out the command to resample. Can anyone please help me ? This is the link for the wrappe...
In literature, a monophone is represented with 3 states. When doing context dependent clustering, 3 states are used to represent a triphone. Why is the triphone represented with 3 states and not 5? Doesn't modeling with 3 states reduce the information? My current understanding is that each of the phones in a triphone c...
As i am using open Al library for generating a tune. I was able to generate a tone for single frequency. When I was trying to generate tone for multiple frequncies, it suffered from the problem of clipping and noise. So please sugest me how to rectify the problem.
I have a single channel audio recording. I want to simulate the stereo recording when it is (hypothetically) played on a speaker in front of stereo mics (distance between them - say 10 cm). Are there any tools which can do this? Edit- I am looking for something more precise - as in for specific distance between speake...
The question is, how to attain the frequency domain representation of any signal (which is finite, non-unit length) convolved with an IIR filter. The correct answer in my opinion is that there is in fact no answer, which might seem very strange at first. But if we work through the math and use the property of circular...
Ladies, Gentlemen, Consider following set of moving average filters: (1) - 100 coefficients equal to 1/100 (2) --- 95 coefficients equal to 1/95 (3) --- 90 coefficients equal to 1/90 (4) --- 85 coefficients equal to 1/85 (5) --- 80 coefficients equal to 1/80 (6) --- 75 coefficients equal to 1/75 (7) --- 70 coefficie...
I listen to a podcast with interesting talk separated with horrible music. I'd like to rewrite the podcast automatically to delete this "noise". Edit: the talk and music is not simultaneously, it's talk for a couple of minutes, then a horrible song, then talk etc. Erring on the side of caution is OK, some seconds of th...
I would like to understand reasons for different image datasets used for salient object detection: their difficulties, their origins and likely future datasets. Does there exist any work explaining them such their progression and characteristics over time?
MR tools are used in many sectors such as medicine and mining. MR stands for magnetic resonance and MRI for magnetic resonance imaging. What are characteristics of different MR images? What are typical noise to signal ratios and other important decision factors?
I'm trying to reconstruct an audio signal, and below is what i got after rescaling. How can i obtain centered audio signal such as below? SOLVED: ruoho ruotsi's answer addresses my problem :) i found someone asked the similar question before How to remove or filter the drift problem in measured Strain signal?
This morning i was experimenting with GNU Octave. I created several signals(Sine, Saw tooth, square wave and noise). After this i used the periodogram. in the periodogram the square wave weren't showed. I tried a test file from where the square wave is broken. A = 1; f = 2; T = 2; fs = 512; if isOctave = exist('OCTAV...
i have encoded H.264 video using ffmpeg . I want to apply packet loss model like Gilbert Eliot model to depict video transmission over unreliable network. Like in this thread TV noise is simulated. But noise in internet is different. So is there a way to simulate packet loss/ noise for video streaming using ffmpeg or ...
I know this question has been asked here numerous times. But I am still unclear here :( My book says, A linear time-invariant system is stable if its impulse response is absolutely summable. (G. Proakis) So that should mean that, for a stable system, the impulse response h[n] goes to zero as n approaches infinity, ...
From this document it's says 1.Filter the Data 2.Flip that 3.Filter again 4.and Flip that again for zero-phase filter. but when i do this in matlab , i'm compare between filtfilt method and what i did , it isnt equal. what is the problem ? MATLAB CODE clc;clear all; emg_healthy=load('emg_healthy.txt'); x= 10; fs= 40...
I am new to the concept of wavelet transforms. Can somebody please help me in understanding this ? and also how to implement it in c. Is Short term Fourier transform more efficient than Wavelet Transform for finding Transients ?
It has annoyed me that there doesn't seem to be a source online where the complete complex Fourier transform family is presented with every variable defined. The lack of definitions can be a nuisance when the transforms often use same symbols to denote different variables. So, what are the relevant transforms and the e...
Im currently working on VAD (voice activity detection) topic. Since I'm beginner in digital signal processing, I've started to wonder if calculating single frame energy (after aplying FFT to it) and looking for values around 4Hz and bandwith (for example) from 200Hz to 600Hz would be as effective as checking for 4Hz mo...
I got a question regarding to modulation entropy of audio signal. There is some literature I found about this topic, http://www.irit.fr/recherches/SAMOVA/FeaturesExtraction.html#me. I've read sample .wav file. How do I calculate entropy of this sampled signal of lenght N samples? How should I understand, in this case ...
I want a complex FIR or IIR filter whose response is approximately a sawtooth in the frequency domain. How should this be formally described, and what formula or algorithm can I use to calculate taps for one? Here is a sketch of the magnitude response I want (not analysis of an actual filter). I think the phase respons...
I have the following MATLAB code: x=[1 2 3; 4 5 6; 7 8 9;]; u=(0:255)/(255-1).^1.05; x2=u(x+1) when I run this code I get the following as a result in x2: x2 = 0.0030 0.0060 0.0090 0.0119 0.0149 0.0179 0.0209 0.0239 0.0269 what is happening when I call this line x2=u(x+1)? and how to write it mathe...
I performed an FFT with some zero padding and would like to transform it back to time domain. When I plot the signal it looks wrong. Is it because of the padding used in the FFT? How can I make it right? here is my code for doing the IFFT: NFFT=4301; AvIFFT = ifft(FFTavg.dat,NFFT); plot(real(AvIFFT)) And I get this pl...
I am trying to segment my characters on this image with using column sum vector. This method actually works on the paper I've read about license plate recognition. it looks useful for my images too but since my threshold values are not very good I am not really sure if I can use CSV for character segmentation so ...
I'm currenty aiming to optimize my fast wavelet transform (FWT) algorithm for 2D signals (images). It works as follows: one iteration of 1D FWT does convolution of 1D input data with a selected 1D filter (lengths from 2 to approx. 60) and downsamples the result algorithm for 2D transform does 1D FWT across all rows an...
I have designed an adaptive filter for noise cancellation. Is there any standard way of testing adaptive filters?
i have a doubt about DFT filter banks. For example I have $M=4$ channels and a filter with cut-off frequency of $0.25$ right. The prototype filter $H_0$ is a low-pass centered around $0$ ok. The second filter $H_1$ is centered around $0.5\pi$, the third around $\pi$ and the last $H_3$ (cyan colored) is centered around ...
I'm tinkering in Matlab with a problem that's very similar to active noise cancellation. In the literature, the secondary path is described as the transfer function from the output of the adaptive filter to the error input sensor. The algorithm needs to model this path to obtain good results. However, there is also t...
While asking a question about representing large time series in R I was discouraged from using R for digital signal processing. I understand that R is geared towards statistics. However, a signal is just a set of measurements. R also deals with time series, but they are usually at different time scales. Nevertheless, e...
I have come across a peculiarity of FFTs which has got me somewhat baffled. I've simply summed up 101 sine waves and taken the FFT using this matlab script : clear all f=1e9; % Centre Frequency 1GHz df=2.5e6; % Carrier Frequency 2.5MHz Time=linspace(-100e...
I've got this unusual spectrogram and I am really curious what these circles could mean. Has anyone ever seen anything like this? What could be the source of the signal?
How does the n index for a window with $0 \le |n| \le N/2$ e.g the Bohman window function, get implemented when having a specific window size? if (n >= 0 && n <= N/2) what happens with the passed in index e.g. 1000 of a 1024 window size ?
This year I'm having trouble with my Signals and Systems class. My major subject is Software Engineering and Electric and Electrical Engineering is my Minor. This question was my previous exam question but I coudn't write anything about it as a solution. If somebody could at least show a way to solve this problem it wo...
I saw many solved examples about this topic but again I coudn't come up with any solutions about this question. How can I find the Fourier Series coefficients of the following signal ? $x(t)=2 \cos(3\pi t) + \sin(100\pi t+\frac{\pi }{3})$ I know that; $\cos(θ)=\frac12 (e^{jθ} + e^{−jθ})$ and, $\sin(θ)=\frac{1}{2j} (e^...
I'm slightly confused about baseband pulse shaping. Let's assume I have a complex data vector in an arbitrary complex constellation (QAM for example). I would like to pass this complex vector through a pulse shaping filter (RRC or RC). As far as I know RC/RRC filters have a real impulse response, thus I can generate a ...
I came across the FWGN model for multipath channel simulation in the book: "MIMO-OFDM Wireless Comuunications with MATLAB" Here is an explanation about Clarke/Gans model: Some code to generate a Chanel using this model is also in the book: here is some of it: function [h,Nfft,Nifft,doppler_coeff]=FWGN_model(fm,fs,N) %...
I have position of objects from recording sampled at 30 fps. I wish to remove high frequencies from position with the help of low-pass filter. I am confused as to how to choose the filter parameters in this respect-> [b,a] = butter(n,Wn) that is , n and Wn in this case. Data: K>> [xcor_i,ycor_i ] ans = -101.7000 ...
Alpha is used in many window functions e.g. What is the range that alpha can take and is it the same across all uses of alpha in the equations? e.g. Will any alpha still result in a stable result, e.g. between 0 and 1
i would a confirm of this: with polyphase structure is possible only design a filter bank with a INTEGER oversampling ratio? For non-integer i've seen the weighted overlap-add metod, is right? thanks S.
I know that $$X_L(s) \Big|_{s=j\omega}=X_F(\omega)$$ if $x(t)$ is one sided and absolutely integrable and hence the imaginary axis of the Laplace transform is the Fourier transform. But Fourier transform also has imaginary and real parts. So how could this be right?
I have a question about the hessian matrix / determinant of the hessian matrix. For the Hessian matrix, one is able to determine the local curvature around a point. And with the Second partial derivative test one can test, using the determinant of the hessian, if that point is located on an extrema, or saddle point. M...
Let $x[n] = u[n] - u[n-4]$ (a discrete pulse of length 4), and $X(\omega)$ is its DTFT. Let $x_1[n] = x[n]*x[n]$. I expect DTFT of $x_1[n]$ to be same as $X(\omega)$, because $x_1[n]$ has the same sample values. But it is actually a convolution: $X(\omega)*X(\omega)$. This is puzzling. Please explain.
Suppose we denote the frequency of the note $\textbf{C}_{0}$ by $f$ then we know that $f,2f,3f,...$ are all resonating frequencies. However the frequencies $2f,4f,...,2^{m}f$ belong to the same pitch class $\textbf{C}$ having the "same" sound(higher pitch) whereas the frequency $3f$ is the note $\textbf{G}_{1}$ and bel...
I'm currently working on voice activity detection (VAD) theme and I just started to wonder - if computer generated speech (as when using voice generators) can be discriminated from human speech with classic VAD approaches (ex. 4Hz energy modulation, zero-crossing ratio, modulation entropy, short time energy, MFCC coeff...
I have this image: What methods should I use to extract the veins from this image. Thank you.
I feel like I am having a brainfart over here and can't seem to remember what's going on with STFT outputs. Consider these two lines of code from the Python library Librosa: # Window the time series. y_frames = util.frame(y, frame_length=n_fft, hop_length=hop_length) # Pre-allocate the STFT matrix stft_matrix = np.emp...
If the received signal strength for a 5.2 dBi dipole was measured at -46 dBm and the noise level was -96 dBm, what would the signal/noise ratio be in dB, the received power in µW, and the noise level in nW?
I'm facing a gap in my understanding of when a signal is a "voltage" signal and when it is a "power" signal that I've always managed to avoid resolving until now... First what I think I understand, then my question after the horizontal rule: I understand SNR to be the ratio of average signal power to RMS noise power: ...
Consider a continuous channel, band-limited to the $[f_{\text{min}},\,f_{\text{max}}]$ frequency window. A well-known statement says that, as far as the dependence on the frequencies, the information-carrying capacity of such a channel depends only on the bandwidth $B=f_{\text{max}}-f_{\text{min}}$, and not on the magn...
I previously asked this question in the maths community not realising that this stack exchange community existed. I have searched online extensively and haven't been able to find an explanation to how this works and would really appreciate some input. I'm studying this signals and systems text book and I can't figure o...
I want to implement a high pass filter (order 4) in MATLAB using cascade form. [b,a]=butter(4,0.0083,'high');% I am using butterworth filter [sos,gain]=tf2sos(b,a); Should I use [sos,gain] for implementing the same in cascade form or just [sos]. I read a post related to same and it says just [sos] should be used, ho...
This might be a solved problem (or a known unsolved problem) because it is related with finding a causal signal that has a desired magnitude response. $$F(f)=R(f)+iI(f)$$ $$F(f)=R(f)+i \int^\infty_{-\infty}\frac{R(u)}{f-u}du$$ $$F(f)F^*(f)=R^2(f)+\bigg(\int^\infty_{-\infty}\frac{R(u)}{f-u}du\bigg)^2$$ We only know $F(f...