Answered
filter clarity needed - does no. of coefficients = order = no. of poles and zeros?
No, not the number of coefficients, but there is a relationship with the order. The order is one less than the number of coeffic...

14 years ago | 2

| accepted

Answered
Linspace for logarithmic increasing values
Since you are really interested in a power relationship that will produce a straight line in a loglog plot, why can't you use li...

14 years ago | 0

Answered
Warning in matlab
See the help for intmax

14 years ago | 0

Answered
Elliptical plot to Frequency response
Hi Tom, you don't want to input the zeros and poles to fvtool(), you want to import the filter numerator and denominator coeffic...

14 years ago | 0

| accepted

Answered
need to visualise this comb filter
You have to know tau. In your example, tau is 1, just as long as that is correct. Also, the sign on g is incorrect and you don't...

14 years ago | 0

Answered
need to visualise this comb filter
You can visualize it in pole-zero form, or the phase, magnitude etc, which evaluates it on the unit circle. However, you shou...

14 years ago | 0

| accepted

Answered
spiht algorithm
This algorithm is available for both gray scale and true color images in the Wavelet Toolbox as an option for wcompress

14 years ago | 0

Answered
Append a string to a cell array of strings
x = {'abc', 'def','ghijk'}; y = 'lmnop'; x = char(x); x = reshape(x,1,size(x,1)*size(x,2)); x = [y x]; ...

14 years ago | 0

Answered
Harmonic Analysis using wavelet
DSP System toolbox has dwt block to do the critically-sampled discrete wavelet transform. But no blocks for the nondecimated or ...

14 years ago | 0

| accepted

Answered
how to find max freq and lamdha min for a pulse
ydft = fft(y); ydft = ydft(1:floor(length(ydft)/2)+1); [maxval,I] = max(abs(ydft)); freq = 0:fs/length(y):fs/2; ...

14 years ago | 0

| accepted

Answered
load ha .wav file in matlab
You can do something like this. h = uicontrol('Style', 'pushbutton','String','Select WAV File',... 'Position',[20 1...

14 years ago | 0

Answered
Guitar synthesis
See this demo in the Signal Processing Toolbox: <http://www.mathworks.com/products/signal/demos.html?file=/products/demos/shi...

14 years ago | 0

| accepted

Answered
what is fftshift ?
It shifts the DC (zero frequency component) to the center of the signal or image. Have you seen the explanation in the documenta...

14 years ago | 1

Answered
picking the signal from PSD
If you specify a sampling frequency, then f is in increments of Fs/N where Fs is the sampling frequency and N is the length of t...

14 years ago | 2

Answered
how to get frequency of a discrete signal by using fft in matlab
You don't have to do fftshift() to get the real spectrum. fftshift just puts 0 in the center with "negative" frequencies to the ...

14 years ago | 1

Answered
picking the signal from PSD
The PSD shows how the power in the signal is distributed as a function of frequency. The x-axis, f, are the frequencies. If you ...

14 years ago | 0

| accepted

Answered
fast alternative to continuous wavelet transformation cwt
Are you using cwt, or cwtft to do the CWT? cwtft uses the Fourier transform and might be faster. Again you would have to profile...

14 years ago | 0

Answered
how to get frequency of a discrete signal by using fft in matlab
You identify the peak in the Fourier transform, find the index in DFT vector corresponding to that peak and relate that to frequ...

14 years ago | 2

| accepted

Answered
Smoothing filters
If you want loess smoothing then see smooth() in the Curve Fitting Toolbox. That offers loess and a number of other smoothing op...

14 years ago | 0

Answered
Importing two different files with different sampling rate
There are multiple things you can do. A couple of these are: 1.) You can resample the data using resample() That would enabl...

14 years ago | 0

Answered
Periodicity of a signal
Hi Tiago, You can definitely use a periodogram-based test to detect whether a periodicity is present or not. Fisher's Kappa i...

14 years ago | 1

| accepted

Answered
Detach periodic and non-periodic part sof a signal
What knowledge do you have about the periodic part? It is a single frequency, or a superposition of frequencies in some narrowba...

14 years ago | 0

| accepted

Answered
Get states from a fdesign.bandpass object and use in filter function
After you design your filter, set the PersistentMemory property of the object to true. d = fdesign.bandpass; Hd = desi...

14 years ago | 0

| accepted

Answered
radar signal simulation
The Phased Array System Toolbox has a number of functions to aid you in using the radar equation in determining the required tra...

14 years ago | 0

Answered
Discrete wavelet transform relation to sampling frequency of the signal
Yes, what you are seeing is that the filters are not perfect bandpass filters, but they are better if they are longer. For examp...

14 years ago | 1

| accepted

Answered
Smoothing filters
It sounds like you just want a simple moving average filter (5 point). You can do that with b = 1/5*ones(5,1); output...

14 years ago | 0

Answered
help needed on dfilt.fftfir
Please see this bug report. It is the same error. There is a work around provided by MathWorks <http://www.mathworks.com/supp...

14 years ago | 0

| accepted

Answered
Discrete wavelet transform relation to sampling frequency of the signal
Hi Chirag, Yes, in general you can say that D1 contains information in the signal from 250 kHz to 500 kHz. However, two things t...

14 years ago | 1

Answered
how to apply highpass, lowpass or bandpass filtering according to the paramaters ?
What are the lower and upper bounds? If the lower bound is 0 and the upper bound is some frequency less than the 1/2 the samplin...

14 years ago | 0

| accepted

Answered
left divide discrepancy
mldivide(A,B) is A\B If B is 3x1 and A is 3x3, then B/A should give you a dimension error, but A\B should give you basically...

14 years ago | 1

Load more