Respondida
Scaling of fft output?
The following links may be helpful http://www.mathworks.com/products/matlab/demos.html?file=/products/demos/shipping/matlab/f...

alrededor de 14 años hace | 1

Respondida
Mean averaging separate rows using a certain section of each row.
Hi Tom, your example has 17 columns, not 17 rows. I'll assume you mean a 17x300000 matrix. It's not clear if the region for ever...

alrededor de 14 años hace | 0

| aceptada

Respondida
How to organize loop outputs
You could consider using |cell| for w = (size(e(2)):-1:1 u{w} = find (x>=v(w)&x<=e(w)) end I also reversed t...

alrededor de 14 años hace | 1

Respondida
adaptive filter with more than two coefficients
You need to change the loop to j = 3:N and then the signal to x(j-2:j) Otherwise, your x(j-1:j) is only 2 sampl...

alrededor de 14 años hace | 0

| aceptada

Respondida
how do i work out the transfer function of my filter for use in an adaptive filter?
If it's an FIR, then the coefficients are the transfer function. Say the coefficients are stored in |b|, then you can view the t...

alrededor de 14 años hace | 0

| aceptada

Respondida
specifying the handle as you plot
h = plot(0.5,0.5) returns the handle in |h|

alrededor de 14 años hace | 1

| aceptada

Respondida
zplane - don't the zeros and poles need to be complex?
|zplane| is a little subtle. When B and A are rows, they represent transfer functions. However, if B and A are columns, they are...

alrededor de 14 años hace | 1

| aceptada

Respondida
fourier analisys - harmonic analisys
You can get amplitude by doing Y_mag = abs(Y); The magnitude and phase are in the order of frequencies, from 0 to your s...

alrededor de 14 años hace | 0

Respondida
making a rotation matrix
You need to do something like rotatie(i,:) = [c(1,1) c(2,1)]; But if I understand your question correctly, you can do it...

alrededor de 14 años hace | 0

Respondida
why is error?
There is no variable |xzycbcr| defined in your code., I only see |YCBCR|

alrededor de 14 años hace | 0

Respondida
am modulation
See http://www.mathworks.com/help/toolbox/comm/ref/ammod.html

alrededor de 14 años hace | 0

| aceptada

Respondida
Filter design - are taps the same are difference equation coefficients?
For example, the difference equation below represents a 2nd order IIR filter y[n] = -a1*y[n-1]-a2*y[n-2] + b0*x[n] + b1*x[n-1...

alrededor de 14 años hace | 0

Respondida
Where is PDF version of the DSP Reference manual?
Don't know if this is what you need, but other ones can be found similarly. http://www.mathworks.com/help/toolbox/dsp/ Rig...

alrededor de 14 años hace | 0

Respondida
partitioning a matrix based on another
If your matrix can be exactly partitioned, you can use |mat2cell|. In your problem, X has 5 lines, which cannot be evenly divide...

alrededor de 14 años hace | 0

Respondida
band pass filtering
Doing it by FFT and eliminating the unwanted components is actually not desired because it normally results in some distortion o...

alrededor de 14 años hace | 1

Respondida
rotate image
The default coloring of surf is decided by Z axis value, so MATLAB is behaving as expected. If you want to preserve the original...

alrededor de 14 años hace | 0

| aceptada

Respondida
inverse of log10
a = 10; b = log10(a); c = 10^b

alrededor de 14 años hace | 3

Respondida
Help with IIR filter
Transfer functions are just filter coefficients, so you have the numerator 1 and denominator [1 -1] y = filter(1,[1 -1],x)

alrededor de 14 años hace | 0

| aceptada

Respondida
error handling
You could do something like this try ... catch me errmsg = lasterror; errstr = errmsg.message; end ...

alrededor de 14 años hace | 0

| aceptada

Respondida
how plot sequences?
Are you trying to compare different rows? If so, use plot(1:7,x.') or simply plot(x.')

alrededor de 14 años hace | 1

| aceptada

Respondida
Basic Plot with Log scale of nonlinear function
You probably want to use |./|, |.*|, and |.^| instead.

alrededor de 14 años hace | 0

Respondida
How to find the phase difference between two signals
You can multiply, i.e., mix, the two signal and do a low pass filtering. You will then basically get a signal of cos(theta). I'm...

alrededor de 14 años hace | 0

Respondida
Real value to binary
Are you asking things like |dec2bin| and |bin2dec|? x = 20; dec2bin(20,15)

alrededor de 14 años hace | 0

Respondida
Title in Subplot - How to do without shrinking plot size
You can put a text box at the title place. This should not shrink the axes

alrededor de 14 años hace | 0

| aceptada

Respondida
is it possible to use "find" to process every element of an array without loop
I don't know what your intention is, but for an array, you want to use |arrayfun|

alrededor de 14 años hace | 0

Respondida
Display plots while processing loop
At the end of each loop, use |drawnow|, like this: for ... % do processing drawnow; end

alrededor de 14 años hace | 4

| aceptada

Respondida
Find a element and return indices of a array 3D
idx = find(tmis == name); [row,col,pag] = ind2sub(size(tmis),idx)

alrededor de 14 años hace | 0

Respondida
Interpreting frequency using pwelch function
Hi Chris, |pwelch| assumes that the sampling frequency is specified in terms of seconds. When you specify 1/26.0893, you are ...

alrededor de 14 años hace | 0

Respondida
Creating a Panel Programmatically, outside of GUIDE.
You can use |uipanel| http://www.mathworks.com/help/techdoc/ref/uipanel.html

alrededor de 14 años hace | 0

| aceptada

Respondida
how to step out of a for loop
You can manually set the loop variable to meet the loop ending condition.

alrededor de 14 años hace | 0

Cargar más