Answered

After filtering my EEG signals using a FIR band pass filter I am getting the following result .kindly tell if it is right or wrong?

It's hard to tell on the picture, but it looks like the curve labeled "original" is more band-limited than the curve labeled "fi...

After filtering my EEG signals using a FIR band pass filter I am getting the following result .kindly tell if it is right or wrong?

It's hard to tell on the picture, but it looks like the curve labeled "original" is more band-limited than the curve labeled "fi...

4 years ago | 0

Answered

Function definitions are not permitted at the prompt or in scripts

You can use anonymous functions from the command line (or in a script). Compared to named functions, they are quite limited, tho...

Function definitions are not permitted at the prompt or in scripts

You can use anonymous functions from the command line (or in a script). Compared to named functions, they are quite limited, tho...

4 years ago | 0

Answered

How to use mod function in this question

t=1:24; N=No*exp(k*t); plot(t(1:2:end), N(1:2:end), 'kx-');

How to use mod function in this question

t=1:24; N=No*exp(k*t); plot(t(1:2:end), N(1:2:end), 'kx-');

4 years ago | 0

| accepted

Answered

FFT Peaks Resolver Signal

t=0:(1/80000):(79999/80000); r_sin=sin(2*pi*5000*t).'; r_cos=sin(2*pi*5000*t).'; If applied to synthetic input sign...

FFT Peaks Resolver Signal

t=0:(1/80000):(79999/80000); r_sin=sin(2*pi*5000*t).'; r_cos=sin(2*pi*5000*t).'; If applied to synthetic input sign...

4 years ago | 0

| accepted

Answered

how to correct this error

Make sure that matAB has as many rows as Y_norm has elements.

how to correct this error

Make sure that matAB has as many rows as Y_norm has elements.

4 years ago | 0

Answered

How to know the frequency from spectrogram image?

The frequency is plottet on the vertical (y-) axis. The color indicates amplitude, so it's probably in dB.

How to know the frequency from spectrogram image?

The frequency is plottet on the vertical (y-) axis. The color indicates amplitude, so it's probably in dB.

4 years ago | 0

Answered

how do i design a A 17-tap low-pass FIR filter with pass-band upper frequency of 6 Hz and stop-band lower frequency of 30 Hz and the sampling frequency is 512 Hz.And how can i pass my input vector through it? Any help will really be useful!

Filters are applied to signals using the filter(B, A, sig) function. 17 taps is probably too short for the stated requirement...

how do i design a A 17-tap low-pass FIR filter with pass-band upper frequency of 6 Hz and stop-band lower frequency of 30 Hz and the sampling frequency is 512 Hz.And how can i pass my input vector through it? Any help will really be useful!

Filters are applied to signals using the filter(B, A, sig) function. 17 taps is probably too short for the stated requirement...

4 years ago | 0

Answered

how to process *.emg data in matlab?

Get the description of the file format (it sounds highly proprietary) from the manual of the device, or from the manufacturer of...

how to process *.emg data in matlab?

Get the description of the file format (it sounds highly proprietary) from the manual of the device, or from the manufacturer of...

4 years ago | 0

Answered

Matrix Multiplication by a vector of Ones - How to write mathematically

That is just a regular matrix multiplication, with the second "matrix" having only one column.

Matrix Multiplication by a vector of Ones - How to write mathematically

That is just a regular matrix multiplication, with the second "matrix" having only one column.

4 years ago | 0

Answered

How to approximate a square wave signal from arbitrary known signals

I would try the plain vanilla approach first: Express the square wave as a linear combination of the given arbitrary signals, an...

How to approximate a square wave signal from arbitrary known signals

I would try the plain vanilla approach first: Express the square wave as a linear combination of the given arbitrary signals, an...

4 years ago | 0

Answered

Inverse of filter function

In the z domain, the transfer function of a filter H(z) is B(z)/A(z). The inverse of the transfer function is A(z)/B(z). Howe...

Inverse of filter function

In the z domain, the transfer function of a filter H(z) is B(z)/A(z). The inverse of the transfer function is A(z)/B(z). Howe...

4 years ago | 2

| accepted

Question

filtfilt initial condition calculation ... can someone explain it?

Can someone explain how to get from the article "Determining the initial states in forward-backward filtering, IEEE Transactions...

4 years ago | 0 answers | 2

Answered

Initialize filter so that filtered output begins with initial value of the input

Oops. That was supposed to be an answer, not a comment. So I'm posting it again as an answer. y(n) = y(n-1)*(1-a) + a*x(n) ...

Initialize filter so that filtered output begins with initial value of the input

Oops. That was supposed to be an answer, not a comment. So I'm posting it again as an answer. y(n) = y(n-1)*(1-a) + a*x(n) ...

4 years ago | 0

Answered

What is 'z' in the formula for a discrete PID controller?

1/(z-1) is equal to the infinite sum (z^-1) + (z^-2) + (z^-3) + ...; applied to a signal, this means the sum of all input sample...

What is 'z' in the formula for a discrete PID controller?

1/(z-1) is equal to the infinite sum (z^-1) + (z^-2) + (z^-3) + ...; applied to a signal, this means the sum of all input sample...

5 years ago | 1

| accepted

Answered

What is 'z' in the formula for a discrete PID controller?

z is the variable of a transfer function in the z-domain. (Basically, z^-1 means a time shift of one sample backwards in time...

What is 'z' in the formula for a discrete PID controller?

z is the variable of a transfer function in the z-domain. (Basically, z^-1 means a time shift of one sample backwards in time...

5 years ago | 1

Question

How do I design filters with unconventional parameters?

Hello, I am looking for a way to design filters with parameters that are different from what MatLABs filter design functions ...

5 years ago | 1 answer | 0

Answered

Adding EMG Signal With 50Hx Sinosoidal wave. Not getting it correct

What is the scale of emg(:,2) myNoise may have a different scale than emg(:, 2) and become too small to display once th...

Adding EMG Signal With 50Hx Sinosoidal wave. Not getting it correct

What is the scale of emg(:,2) myNoise may have a different scale than emg(:, 2) and become too small to display once th...

5 years ago | 1

| accepted

Answered

For loop trouble!

I assume you want to keep the intermediate values of u? In that case, use u(:, 1) = [1; 1; 1] (or u = [1; 1; 1]). Then you ca...

For loop trouble!

I assume you want to keep the intermediate values of u? In that case, use u(:, 1) = [1; 1; 1] (or u = [1; 1; 1]). Then you ca...

5 years ago | 0

Question

Am I using yulewalk() correctly?

I am trying to figure out if I am using the yulewalk function (signal processing toolbox) correctly. In a basic example, I tr...

5 years ago | 1 answer | 0