Answered
hanning window
There is no difference. The hanning window, or hann window, or von Hann window were named after Julius von Hann. The hamming win...

14 years ago | 0

Answered
generate time series
You could add in a periodic component cos() or sin() with a small amplitude that fluctuated with the correct period so that it w...

14 years ago | 0

Answered
How to perform 2-D DFT via 1-D DFT
Here is an example that shows you how to do it X = randn(8,8); fft2(X) % now use fft fft(fft(X).').'

14 years ago | 0

Answered
Need to know the plot comands for Low, High, Band Pass, and Notch filter
Yes, you can use freqz and fvtool, but you have to get your filter specified in a way that freqz() or fvtool() can handle. So yo...

14 years ago | 0

Answered
Using fft() to calculate PSD.
Then your sampling frequency is specified incorrectly. Fs = 1/0.2; % here I'll create a signal just to show you t = 0:1/...

14 years ago | 0

Answered
Using fft() to calculate PSD.
Are you sure the sampling frequency is 1 ? If so, how far off is the peak from where you expect it to be? Is it almost correct ...

14 years ago | 0

| accepted

Answered
Need to know the plot comands for Low, High, Band Pass, and Notch filter
You can use freqz(). Do you only have your filter in terms of zeros and poles? or do you have the coefficients? If you just hav...

14 years ago | 0

Answered
chi2gof two sample test for integer arrays of different sizes?
You can certainly specifiy a discrete distribution to use with chi2gof, by specifing the bins (edges) and expected counts. ...

14 years ago | 0

Answered
chi2gof two sample test for integer arrays of different sizes?
chi2gof is for one sample. You can test each vector separately against a specific distribution, but not against each other. ...

14 years ago | 0

Answered
spectral analysis of time versus signal data using FFT
You don't need to specify N as an input to fft() Fs = 2; Y = fft(signal); Pyy = abs(Y).^2/length(signal); For the ...

14 years ago | 0

Answered
spectral analysis of time versus signal data using FFT
It looks like from your squeeze() commands that time and signal are both just row vectors: 1xN Do you really have a matrix he...

14 years ago | 0

| accepted

Answered
FIR by using Frequency Sampling Methods
Hi Mohammed, you can use frequency sampling with certain fdesign objects and specifications like fdesign.arbmag for example ...

14 years ago | 0

Answered
Matlab to LaTeX
Here is one possibility <http://www.mathworks.com/matlabcentral/fileexchange/25298>

14 years ago | 0

Answered
Filter Design
Hi Deep, I'm assuming that you want to try and only remove the content around the harmonics of 20 Hz, so that a general lowpass ...

14 years ago | 1

| accepted

Answered
Say /a/
On a PC textIn = 'ah'; ha = actxserver('SAPI.SpVoice'); invoke(ha,'speak',textIn);

14 years ago | 4

| accepted

Answered
Speech Recogntion Demo
This may help get you started: <http://www.mathworks.com/company/newsletters/digest/2010/jan/word-recognition-system-matlab.h...

14 years ago | 0

| accepted

Answered
Concatenating 2 arrays without changing the dimension
x = randn(10,1); y = randn(10,1); z = [x ;y]; or z = cat(1,x,y);

14 years ago | 0

Answered
how to add phased array system toolbox?
Phased Array System Toolbox was first released with R2011a. It is not possible to install that toolbox with R2010a.

14 years ago | 0

Answered
Plot values above of 0
Do you want to keep the arrangement of the matrix in the stem plot? If so, one thing you can do is to set the 0s to NaNs Let ...

14 years ago | 0

| accepted

Answered
decimate shifts frequency
Here is an example: Fs = 1e4; t = 0:1/Fs:1-1/Fs; x = cos(2*pi*500*t).*(t<0.5)+cos(2*pi*1000*t).*(t>=0.5); scales1 = 1...

14 years ago | 0

Answered
decimate shifts frequency
You have not shown us what your scale vector is for the cwt, but if you decimate the data, then you are changing the scale at wh...

14 years ago | 1

| accepted

Answered
Question with a row matrix (simple)
You probably want to use some tolerance from zero x = randn(500000,1); indices = find(abs(x-0)<eps); x(indices) = x(ind...

14 years ago | 0

| accepted

Answered
matrix
x = randi([-1 1],1,100); percent1 = 100*(length(x(x==1))/numel(x)); percentminus1 = 100*(length(x(x == -1))/numel(x)); ...

14 years ago | 1

| accepted

Answered
use DCT to add noise
You haven't said anything about the frequency, so I'll just pick one. xi=(0:399); yi=(0:399); [Xi,Yi]=meshgrid(xi,yi); ...

14 years ago | 0

Answered
Cut-off frequency not reached with my equiripple-filter
Hi Jenny, you don't tell me what Fs is here so I cannot say whether or not your design is correct. Is Fs 10 kHz? in your time...

14 years ago | 0

| accepted

Answered
Undefined function 'awgn' for input arguments of type 'double'.
You need the Communications System Toolbox. Do you have that installed? Enter >>ver to see if you have an entry like: ...

14 years ago | 2

| accepted

Answered
FIR Parks-McClellan
I'm not familiar with systemVue2009 so I cannot answer your question. In MATLAB, you can use FDATool >>fdatool to design...

14 years ago | 0

Answered
Cut-off frequency not reached with my equiripple-filter
I don't see that with your unit step time vector, your frequencies in y = 2+sin(1000*x)+5*sin(1e9*x) are appropriate. W...

14 years ago | 1

Answered
FIR filter
b = firls(30,[0 .1 .2 .5]*2,[1 1 0 0]); fvtool(b); Obviously you have to specify more than the order. You have to give...

14 years ago | 0

| accepted

Answered
butterworth low pass filter
Have you read the reference page for butter.m? [B,A] = butter(10,1/2); % Visualize filter fvtool(B,A)

14 years ago | 1

| accepted

Load more