Answered
autocorrelate rows of matrix without using a for loop
You can use |FFT| if your data is large, e.g., ffta = fft(a,NFFT,2); b = fftshift(ifft(ffta.*conj(ffta),[],2),2) Choose yo...

14 years ago | 0

Answered
Median Frequency
If I understand correctly, you want to find the frequency below which you have 50 percent of the signal power. If that's the cas...

14 years ago | 0

| accepted

Answered
Fourier transform of text data
You need to first load data into MATLAB and then perform FFT. Assume that each column is a different data set, you can do someth...

14 years ago | 0

Answered
Converting FIR Filter Coefficients to Floating data type
Hi Vivek, You can either create a dfilt object using these coefficients and then change the Arithmetic property, see doc...

14 years ago | 0

| accepted

Answered
Chebyshev Type I low pass filter design
Hi Mehrdad, Like you mentioned, you need to know the passband ripple. You may be able to treat your cutoff frequency as the p...

14 years ago | 0

Answered
ifft returns a complex signal from a real fft spectrum; i desire a real signal
Hi Jeff, There is no guarantee that the real spectrum will generate a real signal. Between time domain and frequency domain, if...

14 years ago | 1

Answered
implementation filter gaussian in matlab...
Hi Megah, The following function should be helpful >> doc gaussfir >> doc filter HTH

14 years ago | 0

Answered
how to design a fir filter by the frequency response curve.
This is basically a frequency response synthesis problem. If you have Signal Processing Toolbox, take a look at the following do...

14 years ago | 0

| accepted

Answered
Sinewave analysis in LPF
You can do that too, since firpm gives an FIR filter.

14 years ago | 0

Answered
3D spherical histogram
Hi Abhinendra, You can convert it to rectangular coordinate and then do the surface plot. You just need to make sure that you...

14 years ago | 0

Answered
Sinewave analysis in LPF
Hi Venkatesh, I don't quite understand your question. Since you already used firpmord and firpm, then you already have the or...

14 years ago | 0

Answered
amplitude of FFT output high compared to input
Hi rekh, You may find the following tech note useful: http://www.mathworks.com/support/tech-notes/1700/1702.html HTH

14 years ago | 0

Answered
fdesign and design list of available arguments
Hi Neal, Using your example, you can find the relevant design methods by invoking following command in the command window ...

14 years ago | 0

Answered
Need some help setting up a function for elementary data filtering
You can use logical index to do this. For example, to achieve the first task, you can do something like x = ones(5,4); x...

14 years ago | 0

Answered
Modeling and simulating a signal with an autoregressive model
Hi Walid, If you know parameter a1,a2,..,ap, I think the simplest way to simulate an AR process is 1. Create an IIR filter...

14 years ago | 0

| accepted

Answered
Finding a string in a file
Hi osminbas, You could write a script to achieve this. You can use |cd| to change directories, |what| to list all the files i...

14 years ago | 1

Answered
Blackman FIR bandpass filter design
Hi olga, There is a subtle difference between the specification of an IIR filter and an FIR filter. Because you are designing a...

14 years ago | 0

| accepted

Answered
number^matrix plz help me on this, I cant understand this, plz help me
Hi ailya, As Teja mentioned above, the key thing to understand is a^x can be expanded using Taylor series. The second piece t...

14 years ago | 0

Answered
How to navigate between directories during program execution?
Hi Yashar, The following command may be of your interest doc run doc fullfile HTH

15 years ago | 0

Answered
Code to Set the Number of Spectral Lines of an FFT(Freq Resolution)
Hi Anshul, I think there are two things you need to consider: 1. To get the perfect spectral line for your 60 Hz signal, y...

15 years ago | 0

Answered
adaptfilt functions
Hi Peter, Maybe I understand it wrong but you cannot directly change LMS filter's coefficients because it is updated in each ...

15 years ago | 0

Answered
Output Length of signal filtered using FIR Filters
Hi Sanket, You are correct that if you do convolution, you get a sequence longer than your original signal. However, those ex...

15 years ago | 1

| accepted

Answered
phased array toolbox
Hi Matthew, Could you be more specific about the issues you encounter? Thanks.

15 years ago | 0

Answered
Cross correlation vs Matched Filter
I think the term "matched filter" focuses more on the fact that it maximize the SNR. Cross correlation can be considered as one ...

15 years ago | 0

Answered
Question about FFT
Hi itsik, When you do IFFT to get 1000 samples, it simply pads zero at the end. So when you do fft back, just take the first ...

15 years ago | 3

Answered
Butterworth filter
Hi Federico, Butterworth filter is an IIR filter, so you will need to get the denominator too, i.e., using the syntax [B...

15 years ago | 0

| accepted

Answered
beamforming
You can also check out the new Phased Array System Toolbox. It has many beamforming algorithms. http://www.mathworks.com/prod...

15 years ago | 0

Answered
Converting Analog Filter into Digital Filter
Hi Royi, When you use Bilinear transform to convert an analog filter to a digital filter, you need to consider the effect of ...

15 years ago | 0

Answered
1D Gaussian Filter using FFT
Hi SM, From the code you posted here, my suspect is that you did not use enough points in your FFT to remove the aliasing. No...

15 years ago | 0

Answered
Need to convert data from two sensors to the same sampling rate
If you have Filter Design Toolbox or DSP System Toolbox, you may want to take a look at the documentation for |fdesign.rsrc|, it...

15 years ago | 0

Load more