instruction
stringlengths
31
27k
I have series of amplitudes of a signal recieved at center frequency of 433.9MHz, sampling at 250000 Hz. I can see the information received is the packet I am after, just sampled too high. I believe the transmitter transmits at 3918bps. What is the best method to downsample from 250000 Hz to 3918 bps? I have tried usin...
I am trying to use FFTW function for IFFT: fftw_plan_dft_c2r_1d(size, out_cpx, out, FFTW_ESTIMATE). My goal is to input desired frequency response data and obtain related coefficients using Inverse Fourier Transform. Since out_cpx is complex, I calculated magnitude (0,1) and phase, taking into account it is linear pha...
simple question, but I cant seem to understand how they got the answer. I have $x(t)$ as a signal, and I'm told that its Nyquist frequency is $\omega_0$ I'm asked - what is the Nyquist frequency of this next signal: $$ x(t)\cos^2(\omega_0t)$$ after playing with it I got the Fourier transform of it $$0.5(j\omega)+0.25X...
I'm building a real-time audio resampler (think pitch bend) that needs to have a several different performance vs quality configuration options. I understand that I'll need to apply a low-pass filter before resampling in order to avoid aliasing. The requirements for the first filter are this: very efficient better th...
I am working on a mixer which lets me mix dry and wet signal in a user defined ratio. Wet signal is basically just the all pass filtered signal. The mixing takes place in frequency domain and so does the filtering. So the requirement here is, after mixing I have to compensate for amplitude loss, i.e. the output signal ...
I am really confused about this exam question regarding Aliasing. I have a signal of 2Hz, which I needed to draw a square wave of, over a period of 8 seconds. It Then asks, "Starting from the square wave you plotted above, plot the resulting wave if it is sampled at a rate of 0.5Hz. What is the phenomenon occurring h...
My book with answers to proakis and manolakis book says that $F(x,n)=x(-n + 2)$ is time invariant while my calculation shows that it is time variant. I have repeated them many times and I am mostly convinced that book is wrong. Can somebody please check my calculations? First we shift output signal: $$F(x, n - k) = x(-...
My book with answers to proakis and manolakis book says that $F(x,n)=x(n)u(n)$ is time invariant while my calculation shows that it is time variant. I have repeated them many times and I am mostly convinced that book is wrong. Can somebody please check my calculations? let $u(n)$ be a Heavside step function. First we...
I am trying to draw a spectrogram from FFT data I get from audio files. The problem is that I can't figure out is what the yielded power (decibels) are relative to. I'm getting some arbitrary -100db-ish numbers, but I don't understand how I can have them represent a finite intensity-scale. If I have a gradient which w...
Given a system, that behaves as a 1st order filter with network function $H(s)$. We input: $$v_1 (t)=1+3\cos(10^4 t)$$ And we obtain as output: $$v_2(t)=1+1.5\cos \left(10^4 t -\dfrac{\pi}{3}\right)$$ Say what kind of filter it is and find its network function $H(s)$. I'm trying to solve this problem and I have solved ...
I am running complex morlet (cmor1-1.5) wavelet transform. I want to have the transformation for the range of $[1,150]\textrm{ Hz}$ with a step of $1\textrm{ Hz}$. I want to use scal2freq Matlab function to convert scales to pseudo frequencies but I don`'t know how to define the delta.
Is this filter a BPF? $$\dfrac{z}{z-a}$$ where $a$ is some complex number? If we put a pole somewhere on the unit circle it will emphasise a certain frequency, is that right?
I have the discrete impulse response of a filter and i want to determine which kind of filter it is by using the DFT. The impulse response is: h0 = [0,1,2,1,0] which I zero-pad for a better result N0 = 10; h1 = [zeros(1,N0),h0, zeros(1, N0)]; Then i created the N-Point DFT of it using FFT H1 = fft(h1); The picture ...
This question is regarding digital modulation. If 64 QAM always provides rates greater than BPSK or 16 QAM, then why do systems always use higher order modulation of QAM? Thanks
With reference to the diagram below, is it correct to say that at the pass band the phase response is linear. It also remains linear in the stop band but it get chunks of π. These jumps happen when the magnitude response goes down to minus infinity dB (theoretically) ?
This is soft question.I am not expert in music. We know that English language has 26 letters (which are again grouped into vowels and consonants) , while language of music is same all over the world and it has only 7 letters (all are vowels). There are number of musical instruments. one can blindly recognize which inst...
How to calculate the values of Gaussian kernel? I think I understand the principle of it weighting the center pixel as the means, and those around it according to the $\sigma$ but what would each value be if we should manually calculate a $3\times 3$ kernel?
I was drawing a high pass filter response ,in a polar coordinates, the function is (z+1)/z and then it is 2+2*cos(w) the plot is What is the name of this plot, is it a frequency response or impulse response or some thing else. and how to distinguish it from other curves names.
I have 1 monitor with VGA input only, 1 computer with only an HDMI output, and 1 computer with a VGA and HDMI socket. I also have a VGA cable and HDMI cable. So my main question is: Could I use some sort of software to convert HDMI input from another computer into VGA output? Any feedback is greatly appreciated!
I’d like to use my Raspberry Pi to record when and how often my dog barks. But for privacy reasons, I don’t simply want to record the loudness in the room, so I have to automatically detect barks. How would I do that?
i'm trying to understand the fir1 filter but i still don't get it. For example here i got an audio signal that i consider noise, i'm passing it through a low pass filter. n = 100000 fs = 11025 handles.noise = wavrecord(n, fs, 'double'); nfilt = fir1(11,0.4); fnoise = filter(nfilt,1,handles.noise); Why did i need to...
In another question on dsp.stackexchange, a statement was made that the output of MATLAB firpm() or firls() for an anti-alias low-pass filter was "close" to the coefficients of a windowed-Sinc low-pass filter. If so: What window (applied to a Sinc "perfect" reconstruction waveform) would provide low-filter kernel coe...
All em radiation propagates spherically and at a far off place a small enough distance, when observed appears like a plane like our experience on the earth. So I tend to think that whether a wave on an aperture can be considered plane or not depends on how far the aperture is from the origin and how much is the apertu...
I had two sound files and did the following to it: [s1, fs1, nbits1] = wavread('s1.wav'); [s2, fs2, nbits2] = wavread('s2.wav'); r1 = resample(s1, 22050, fs1); r2 = resample(s2, 22050, fs2); f1 = fft(r1); f2 = fft(r2); shift1 = fftshift(f1); added = shift1 + f2; out = ifft(added); wavwrite(out, 22050, 'result.wav'); I...
I am unable to find out a formula for the BER for the OQPSK Modulation. Currently, I am using the berawgn function from Matlab to calculate the BER for OQPSK but I am looking for an expression for this BER. Pointers to any references would be appreciated
I have 5 'negative peaking' biquads that will change center frequency while maintaining a constant Q and A (amplitude reduction) on a realtime microcontroller (ARM cortex-m4) with a codec over i2s controlled by i2c system operating at 96kHz. I am concerned (with concerns raised by my oscilloscope) that I am going to be...
How to show the time history of a signal down-sampled under the rates of 25Hz & 40Hz and find its DFT analysis using Matlab ? The sample signal is in a data file (sensor_data.mat) its sampling rate is 1000Hz. I can get the time history and the DFT analysis of the signal. Fs = 1000; % sampling rate T=1/Fs; % sample time...
I have a doubt about something. GMSK Modulated signal is equal to I+Q (with I = cos and Q = sin) or I+i.*Q ? Thank you. Best regards.
In my understanding, I let make a example. For example, you can see in the following picture. Consequently, We want to find ^sigma. and We have already known the observation data(which is random data such as C) and bin(0.3). To know "the estimated standard deviation ^sigma", First of all, Find Likelihood for each ...
I'm working on a object tracker based on KLT algorithm using matlab. Can anybody guide me how I can find the features and calculate the distance in the sequence of the frames? Thanks.
If we plot for example the relation between the probability of False Alarm (pfa) and the threshold. The threshold is in x-axix, while the $log _{10}(pfa)$ in y-axis. If I get for example the following plot: Which is better? the green one or the yellow one? Thank you if you can give me some explanations.
CMA is a blind channel equalization algorithm with the details presented above. I am facing 3 difficulties and shall appreciate help Q1: Does $H$ and the bar over $\bar{y_k}$ represent the Transpose symbol? Q2: When calculating the gradient, $\Delta J(w) = 2E{({|y_k|}^2 - 1). \Delta(w^Hx_kx_k^Hw)}$, how does the gradi...
I'm looking for a way to send MIDI from a cheap or free MIDI sequencer to Pure Data or Max MSP so I can do realtime MIDI processing in PD/MAX. So I guess I have a couple questions: What is a good cheap/free midi sequencer (that runs in Windows 7) that supports MIDI out to another program How do I configure MIDI out? ...
I'm trying to review MLE (maximum likelihood estimation). What does it mean when one model fit the data better than does a comptitor model?
The OQPSK modulator in Matlab produces an output sequence as follows: [0.707 0.707+0.707i -0.707-0.707i ...and so on ] This is the sequence and I am trying to view the frequency spectrum of this sequence. With the sampling rate being 2 MHz, I expect to see a peak centered at 0 with a bandwidth of 2 MHz. When I upsamp...
Zhang et al. proposed the LDPs for face recognition . They considered the LBP as the nondirectional first-order local pattern operator and extended it to higher orders ( th-order) called the LDP. is there an intuitive explanation of this definition? i need your help.
I have a signal that contains three distinct images, this means that I have three frequencies or peaks, and each one corresponds to a picture. I have a function that converts a signal into an image. I'm using the low pass, high pass, and band pass filters in Matlab to filter out the frequencies I want. When I use the...
I need to upsample a 2 MHz signal by a factor of 3000 to convert the OQPSK modulated baseband signal to passband. When I upsample by duplicating the elements in the sequence, I seem to get less error compared to padding the sequence with zeros. The frequency spectrum is also better when I duplicate elements whereas wit...
I have a noisy recording with some letters spoken out loud. I've noticed that the noise is easily recognizable when looking at a spectrogram of the audio. Is there anyway to set a power/frequency threshold for the spectrogram, and muting the parts which do not reach that threshold? (The noise doesn't have enough power ...
Say the channel model is an univariate FIR filter with true coefficients $h=[1,a_1, a_2 ]$. I am learning algorithms for system identification and channel equalization. For this, I am implementing programs provided in Matlab. One such Algorithm is Constant Modulus Algorithm for blind channel equalization. Code is the ...
Suppose I have a real-valued random signal $f(t)$ written as $$f(t) = I(t)\cos(\Omega t) - Q(t)\sin(\Omega t)\, .$$ What is the relationship between the spectral densities of $I$ and $Q$ and the spectral density of $f$? One approach is to use the fact that $$\int_0^\infty \frac{d\Omega}{2\pi} S_f(\Omega) \cos(\Omega \t...
I am working on obtaining the vortex shedding frequencies behind a 2D square using CFD. Time-varying data is being extracted from a specific cell behind the square. I've written a little python script which performs FFT analysis on the signal and spits out the dominant peak frequency. Because the shedding frequencies a...
I had asked conceptual Question about Constant Modulus Algorithm. I am implementing the simple steps of the algorithm, as I do not have the cma() built in module. I am considering a Finite Impulse Response (FIR) system whose true coefficients are $h = \begin{bmatrix}1 &0.45 &-0.2\end{bmatrix}$. The algorithm is presen...
What effects does have a different input such as impulse, step, sine sweep etc. on performing a system identification? I mean what is up/down side, and which one is best, and why chose one rather than the other. For now I see the sine sweep as the most reliable for determining a system since the other ones doesn't seem...
As title says, what is the low-pass filter that gives minimal transient response? By minimal transient response, I mean minimal settling time with reference to very tiny amount of divergence of steady-state values. I am asking for analog case, but digital case would also be fine.
I have implemented beamformer(MVDR/LCMV) for speech enhancement in matlab, now I am trying to convert it to fixed point implementation. during the weight calculation step correlation matrix inversion is required, but in fixed point implementation correlation matrix inversion is not giving correct results. I tried the ...
I have been studying about CRAN and the CPRI links (fronhaul links) and have observed that CPRI links are always either fiber cable or some electrical interface. Why is this needed? Is it related to the latency, bandwidth and cost requirement of the CPRI standard? Thanks
I am programming some sound effects in Java and exporting them into .wav files. Currently, I am trying to program a rocket engine sound effect. I want to do it in the following way: The sound of a rocket engine may be synthesized with a red noise generator controlled by a second red noise generator. The parameter of th...
I have 2 frequencies in my application: $12000\mathrm{Hz}$, $13000\mathrm{Hz}$. I want to set a parallel Goertzel filters and every 100ms I want to take the bigger magnitude for detecting the tone received. Is there any way to implement this? That is, how can I evaluate two functions in parallel in C#? I work on WPF,...
I'm trying to make an FFT audio filter using overlap-add but there's some slight rhythmic distortion/crackle in the output. I have an irSize (impulse response size) of 512 samples and a blockSize of 512. The overlap is 512 samples. Since fftSize >= blockSize + irSize - 1, fftSize is 1024 samples. I'm using FFTS for the...
I have been reading a paper that specifies the spectral mask for certain communication devices attempting transmit over a channel Can someone explain 1) importance if this spectral mask, is it a filter ? 2) what do we mean by roll off at the pass band from -28 dBr to -20 dBr. 3) Also why is the unit of measurement d...
I'm working on color-balancing images with as little input from the user of my app as possible, specifically to remove color casts caused by scanning aged paper. Photoshop's Auto Color action works great, with no input at all, but I don't even know where to begin in implementing something like that. Where can I find an...
I have 4 systems which are represented in z domain like this: Where I know the poles and zeros. Then I compute Partial Energy Sequence of impulse response of all these system using this formula: And I get this result: And I want to observe minimum energy delay property of the minimum phase systems can be specified ...
I am just starting to learn discrete filters and I could use some help. I understand continuous signals and filters. I am trying to understand the math behind discrete filtering. For example in the s domain, a simple low pass filter can be recognized as $$\dfrac{1}{\tau s+1}$$ How does sampling rate affect a discrete...
In the case with a 1-D input like audio, how can a system with one input do many different kinds of processing at different sampling rates and still, at the end of the processing, produce one waveform? For example an ADC/DAC reading and writing at 48kHz, but has an FFT running at 8kHz or another set of processes runnin...
I am bit unsure whether i am doing i sine sweep correctly. I am feeding my system a sine wave with f hertz within a given time interval and log its output. And then i do the same for another frequency. I tried this technique but seem to do it incorrect or so i think. I tested for 2 frequencies, and fed them into Id...
I am trying to implement a Chebyshev waveshaper according to the description on the bottom post here: Add odd/even harmonics to signal? It looks similar to the algorithm here: http://www.juce.com/forum/topic/voice-changer-plugin The results for any odd order setting sound good. But all even order results just end up in...
Is this code for doing a moving average correct? y=conv(x, ones(1,100)/100); I want to filter my speech signal with moving average filter in code. I think that I can use convolution for this.
I am using MATLAB to identify a system. The problem with my method is that my result is perfect. I get a nearly 100% fit, which make me wonder if what I am doing is correct. I feed a sine sweep with an amplitude being the max velocity the system is capable of moving. I am sweeping from $0.1 \mathrm{Hz}$ to $2 \mathrm...
I have two waveforms, and I'm not sure which of them is for the word "cease" and which one for "shoot". Now I guess based on voiced and unvoiced waveforms(voiced should be periodic), the first one is "cease" and the other is "shoot". My question is, how to determine which waveform below refers to the word "cease"/"shoo...
I recently implemented a Butterworth high-pass filter (2nd order). Everything seems to work fine, except that I have a question when applying such a filter to a constant signal. As there are no high-frequency components in a constant signal, I would expect the filter to yield a constant 0 signal. In the plots below are...
I have a signal which has been AM modulated but the channel also added a cosinusoidal interference A cos(2 * Pi * f0 * n * Tc + Phase), at the same f0 frequency of modulation. Tc is the sampling period. I am given the distorted signal x(nTc) and I need to recover the original signal v(nTc) I also have the filter coeff...
I read a noisy signal from an accelerometer which is attached to the pedal of a stationary bike and need to find the frequency of the signal/ speed of the person cycling. I taught of the following solutions and would like to know if I overlooked any or made some incorrect assumptions. Currently the working solution is...
I have a set of accelerometer readings in $X, Y, Z$ axes obtained from an android based smart-phone. The data in $(X, Y, Z)$ was recorded at different time stamps and there is no uniform time period for recording the data. My data set looks as timestamp $X, Y, Z$. First, I did a filtering (using a low-pass) on this d...
When I speed up 150% an audio file with VLC Player, why doesn't it match the higher-pitched version I get when I speed the same file 150% with RPG Maker VX Ace's Sound Test? When I speed up with VLC Player, I don't get a pitch increase When I speed up with RPG Maker or Audacity, I do... How would their methods of speed...
I need gaussian pulse fft. I set the sigma of gaussian pulse 1e-10 and define the gaussian function in time and use the fft. as you know the amplitude of should be unit in frequency domain. but my result shows that the amplitude of the pulse in frequency domain equal to 1/end_time. for example, if i define the time as ...
I have come across modulation techniques that have $\pi/2$ phase shifts from the regular constellations. For example $\pi/2 $ BPSK vs constellation the regular BPSK. Other examples include $\pi/2 $ QPSK vs. QPSK I am wondering what are the benefits of phase shifts like this? Thanks looking forward for your answers
I have peformed different form for input/output relation to determine a system, but seem to be missing some theory which input will be the most will excite enough modes such that the models which i end up with will be accurate.. I tried Impulse response, step response and sine sweep. Could somebody provide me with so...
ARMA models are afaik just filters with transfer function $ {MA(z) \over AR(z)} \equiv {FIR(z) \over IIR(z)} $ . However forecasters of stock prices, market trends ... seem to be mainly statisticians, with their own vocabulary and culture. For example, "signal-to-noise ratio" is rarely mentioned; for another, differe...
I am searching for a matrix definition for converting a audio signal (5.1 with rear) to a audio signal (5.1 with side). Currently I am using the definitions from: https://msdn.microsoft.com/en-us/library/windows/desktop/ff819070(v=vs.85).aspx. But I am missing the yellow marked matrices: Does anybody has got an idea ...
I'm interesting in knowing more about different kinds of data representations that are used for speech data. I know of FFT, but not any others. More precisely, I have the 3 following questions. What data representations for speech data? What is considered the most 'raw' representation? How has the use of different rep...
I'll try to be as brief as possible. I have very limited signal processing experience. I have a data set that consists of essentially a big old sine function (with deviations from ideality), and lots of high-frequency noise (what I don't want). I desiced on a low pass filter because it doesn't change amplitude much or ...
I'm currently working on a project that requires me to classify sleep stages (Awake W, N1, N2, N3 and REM) based on only an EEG. Various algorithms and classifying standards (such as Rechtschaffen & Kales or AASM) actually require EMG and EOG in order to distinguish from REM sleep and wakefulness, which I don't have. A...
I tried to find the stopband edge frequency.I know that the signal amplitude falls to -3 dB below the passband edge frequency.I examine a lot of DSP books so i don't any information about how to calculate stopband edge frequency.
I am new to signal processing and would really appreciate your help. happy to provide more context/details. In my research, I have a system that has many sensors $X_1, \ldots, X_N$ and using this information, the system makes a prediction on a value, $A$. For simplicity, let's assume that $A$ is binary, and please keep...
This question is regarding applying minimum mean square operation at the receiver side of communication system. I have read in paper that Given an output signal from communication system $$R(k)= H(k)S(k) + N(k)$$ an MMSE filter $$G(k)= \frac{H^*(k)}{|H(k)|^2+\frac{\sigma_n^2}{\sigma_s^2}}$$ My incomplete solution I t...
I am trying to make tracking for soccer player, I need to detect features from this player and then estimate the distance difference of these pixels over number of frames. first I have to detect the main features of the player and then match them to those in the next frames, then calculate the distance difference. My p...
What is the difference between wide sense and strict sense stationary processes (SP) ? According to the definition (by Heinrich Meyr, Marc Moeneclaey, Stefan A. Fechtel in "Synchronization, Channel Estimation, and Signal Processing") : strict-sense SP = not time dependent wide-sense SP = not dependent on variable t ...
I'm designing a camera system to use a 5MP CMOS image sensor with a micro controller board. In order to select proper components I'm looking for some numbers. It would be very appreciated if you give me advices. The question is this. If I take a picture with resolution of 2592 x 1944, frame rate of 1 fps and the forma...
As a design input for an low-pass FIR filter I have 6dB@1.6kHz, 24 dB/oct, sample frequency 48kHz. I need to specify phase response, and for that I need a phase slope. I have found, from Julius O. Smith web page, that the phase slope = (N-1)/2 where N is number of taps. What is the way to determine the optimal number o...
This is a soft question. The frequency domain has made revolution in the field of Mathematics, Digital Signal and Image Processing etc. Some of concepts which are very difficult to analyse in spatial or time domain can be very easily understood in the frequency domain using theorems like Fourier transform & series, wa...
I am looking for the concept about how to estimate standard deviation. Actually I'm not sure how can I get a concept the estimate standard deviation ? If you know the concept, then would you let me know it here? Also if you have any reference or examples, it will be help to me. p.s. Is this different between "estimate ...
The Fourier decomposition explains a time series entirely as a weighted sum of sinusoidal functions and with the Fourier series,it is possible to do it. But I have some doubts Suppose ,for any signal we want to perform its Fourier decomposition As we have to create any signal with finite number ($N$)of elementary si...
In communication systems with high data rates, Intersymbol Interference (ISI) is a major problem (ISI). I have read in books that one way to combat this problem is to use time domain equalizers (ZF, MMSE, DFE) at the receivers or frequency domain equalizers (ZF, MMSE). I am just here to ask whether my understanding is...
What kind of pros and cons does these method for identifying a system have? I seem to have a hard time finding literature discussion in this issue. I am operating on a linear system, or the linear area of the system. So non linearity isn't an issue here.
Considering an FIR system excited by an input $s_n$. If the input is derived from a mapping, and a +1/-1 BPSK signal is derived. Considering the Constant Modulus Algorithm (CMA). The channel is modeled as an FIR. If the received signal is fed to the equalizer, the output is : $y_n = w^T(n) x_n$ where $w^T$ is the equal...
In Orthogonal frequency division multiplexing (OFDM), data symbols are modulated using an N pt-IFFT operation to produce ONE output OFDM Assume we have total of $N$ QAM symbols which are input to the IDFT operation. 1) Is the output time domain samples $X_k$ also of length $N$ in length? 2) If ONE data QAM symbol has...
HeartMath Institute calculates a coherence score for heart rate variability by giving a score to how sinusoidal wave-like the instantaneous heart rate signal is. http://store.heartmath.org/s.nl/ctype.KB/it.I/id.585/KB.623/.f What DSP techniques can be used to calculate how sinusoidal a signal is, in a manner similar to...
Assuming we have time domain signal $$x(t)\,\,\,\,\,\,\, 0\leq t< T$$ and we decide to upsample the signal by factor $L\geq1$. Then the samples of this oversampled time domain signal are represent as $$x(kT/L)$$ I have read in paper that setting $L=1$ corresponding to the case of Nyquist rate sampling, does anyone kn...
I am using scipy.io.wavfile to read a WAV file and playing it with pyaudio. Before the numpy array is written to a string and output through pyaudio, I would like to be able to apply some sort of function (sin, cos, etc.) to the 16-bit numpy array. Does anyone have any experience doing something like this? Should I co...
This is probably a really basic question but I'm a little stumped and would appreciate some practical input on how to go about doing this rather than reading dockets of equations semi-related to what I am doing. So say I have data which is largely reminiscent of a sine wave. I do an forward Fourier transform and low p...
Recently I have come across different variation of the sane modulation techniques. I am quite confused about the advantages of different constellations. In particular, what are the advantages of using Differential BPSK over BPSK? Any thoughts?
The human voice is singular because it has a specific frequency spectrum and fast transitions between vowels and consonants. What are good and computationally fast ways to detect if there is probably a voice contained in a noisy music, the amount of the song where there is vocals, and the type of vocals in different ki...
I'm trying to send some text over sound. For example, I try to send the words "Hello John". I do it this way: Every char is converted into its binary ascii code. Then I construct a wav file with no gaps by NAudio library in this manner: StartDelimiter = 12KHz, 1's = 13kHz, 0's = 14kHz(for the message), ...
I am new to the field of image processing / computer vision and I find it very hard to get my hands on the subject. I read a lot about the basics/theory but I feel in no way able to use this knowledge in a practical way. Do you have any tips on how to translate my theoretical knowledge into practical knowledge? Are th...
I have a set of points(2D) whose pixels are set and want to perform k-means on these pixels. Is clustering the 2D coordinates the right way ? If so, can that be done using any libraries in python ?
I am trying to move a signal to 0 in the frequency domain but I am not sure how to do it.
A quite naïve question. I need some clarification regarding choosing the sampling frequency and oversampling factor. The scenario is as follows: I have an OQPSK modulated sequence with symbol rate 2 M Symbols/sec. In order to transmit this through an AWGN channel, I am trying to half sine pulse shape this modulated seq...
I need first $25 \times 25$ coefficients of DCT to encrypt an image in Matlab. How do I obtain them ? I used this code to compute DCT of an image : I = imread('cameraman.tif'); I = im2double(I); T = dctmtx(8); dct = @(block_struct) T * block_struct.data * T'; B = blockproc(I,[8 8],dct); mask = [1 1 1 1 0 0 ...
JPEG image compression is Fourier based DCT while modern image compression technique like JPEG2000 is based on more multi-scale technique like Wavelets.I want to know how Fourier and Wavelets are useful in Image compression. So can anybody explain advantages and disadvantages of JPEG and JPEG2000 with the help of (c...