Answered
I have a problem Problem understanding SPTool
Hi Don, Yes by default it gives you the spectrum from 0 to Fs/2 (the Nyquist frequency). You can use Mouse Zoom (under Options) ...

14 years ago | 0

| accepted

Answered
Bandpass Filter By Using Butter
You haven't given us a lot to go on because we don't know what you mean by: "However, the plot of FFT Amplitudes doesn' t res...

14 years ago | 0

Answered
command for a certain graph
Hi John, See the help for bar3 For example: bar3(peaks(5))

14 years ago | 0

Answered
what is different between 'corr' and 'corrcoef'?
If you want a single correlation coefficient between two matrices, then neither, see corr2. For two matrices, corr() returns ...

14 years ago | 4

| accepted

Answered
How to compute the PSD after generating a .m file from FDATool
You can look at the magnitude response of your filter with: fvtool(Hd) Or [H,W] = freqz(Hd); plot(W,20*lo...

14 years ago | 0

Answered
measuring the fundamental fequency
I think you're better off not just relying on the DFT (Z-transform on the unit circle) to estimate fundamental frequency. For a ...

14 years ago | 0

Answered
Generate C code from a filter which created by fdatool or filterbuilder
Look under File -> Generate Matlab Code -> Filter Design Function. If I choose that option and then make some adjustments in the...

14 years ago | 0

| accepted

Answered
About latex command in the title
Hi, You should use the LaTex interpreter. figure; title('$$Q \geq \frac{I_h H}{I_h H+I_z C}, b_1 \geq b_2$$','interprete...

14 years ago | 4

| accepted

Answered
Generate C code from a filter which created by fdatool or filterbuilder
What version of Matlab are you using? If you are using R2012a, generate the Matlab code with "Filter Design Function" or with th...

14 years ago | 0

Answered
Generate C code from a filter which created by fdatool or filterbuilder
Yes, you can, but you'll need a coder product, e.g. Matlab Coder, or Simulink Coder. You can export MATLAB code for your filter ...

14 years ago | 0

Answered
Is 0.001Hz resolution possible with a 2.5Ms/s file while preserving the time resolution?
It sounds like you have dt = 1/2.5e6; N = 600/dt; N samples is that correct? To achieve a frequency resolution of...

14 years ago | 1

| accepted

Answered
What dashed lines in magnitude response mean?
If you have the DSP system toolbox, you automatically get a "mask" that shows how close your designed filter comes to your speci...

14 years ago | 0

| accepted

Answered
fft for financial time series
Below is an example. t = 0:2607; % just an example % put a sine wave with a period of 120 days and add noise x...

14 years ago | 0

| accepted

Answered
Does anyone know how to calculate a 12 hours signal (Climatic data)?
You can do that by sampling every hour hrs = 0:59; % 5 periods for example x = cos(2*pi/12*hrs);

14 years ago | 0

Answered
I keep getting a syntax error with my program???
x=input('Enter value for x: '); y=input('Enter value for y: '); if x==0 & y==0 disp('This point is located at the origin....

14 years ago | 0

Answered
Simple question regarding sorting
X = randi(30,100,1); Y = randi(30,50,1); Z = unique([X ; Y]); The result from unique() is sorted.

14 years ago | 1

| accepted

Answered
Editor powers and prominence of the buttons
Hi Daniel, Wasn't it Spiderman's uncle (Ben Parker) who so wisely said: "With great power comes great responsibility" :)

14 years ago | 2

Answered
literature associated with the periodogram function
The periodogram is described in any number of texts on time series analysis. Here are a few: Percival, D.B. & Walden, A.T. Sp...

14 years ago | 0

| accepted

Answered
How to perform 2-D DFT via 1-D DFT
It actually doesn't matter, but you can do this X = randn(8,8); Y = fft2(X); % ok let's first take the DFT along the row...

14 years ago | 0

| accepted

Answered
spectral analysis for time series data
One way plot(F,10*log10(xper)); set(gca,'xtick',[1/20 1/12 1/8 1/6 1/4 1/2]); H = 1./(get(gca,'xtick')); set(gca,'xtic...

14 years ago | 1

Answered
How to convert a scalar data into complex ?
A scalar can be complex by definition. A scalar is just a number. So I'm assuming you have real-valued data to start with. How a...

14 years ago | 0

| accepted

Answered
spectral analysis for time series data
Because you have a real-valued signal, the power spectral density is an even function of frequency. Therefore, there is no need ...

14 years ago | 1

| accepted

Answered
ecg signal in different frequency bands
Siddartha, Are you sure you want a band like 0-0.04 Hz? At that point you are essentially just asking for the DC component of th...

14 years ago | 0

Answered
help regarding starting simulink
Have you worked through the Simulink documentation and looked at the example models there? Also there are number of good tutoria...

14 years ago | 0

Answered
Filter Object Not Filtering Data?
You are not designing a filter with the same sampling frequency as your input signal. The sampling rate of your sine wave is 1 g...

14 years ago | 1

Answered
ecg signal baseline wandering
What does your "wandering baseline" look like? does it just look like linear trend? piecewise linear? If so, you can just use...

14 years ago | 0

Answered
butter filter
If you want to pass 900 Hz and reject the other frequencies, you need a highpass filter. You have designed a lowpass filter. Why...

14 years ago | 0

| accepted

Answered
CDF of gamma distribution
I'm not sure how you are calling it, but you should get the same result with gamcdf and gammainc, provided you scale the x vecto...

14 years ago | 0

| accepted

Answered
bior 3.5 wavelet filter
As Walter states those are the number of vanishing moments for the scaling and wavelet filters for both the reconstruction (synt...

14 years ago | 1

Answered
hanning window
The Hann and Hanning window are both implemented in MATLAB by the same basic equation w = 0.5 - 0.5*cos(2*pi*x); There is ...

14 years ago | 4

| accepted

Load more