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

14 years ago | 1

Answered
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...

14 years ago | 0

| accepted

Answered
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...

14 years ago | 1

Answered
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...

14 years ago | 0

| accepted

Answered
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...

14 years ago | 0

| accepted

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

14 years ago | 1

| accepted

Answered
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...

14 years ago | 1

| accepted

Answered
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...

14 years ago | 0

Answered
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...

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

| accepted

Answered
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...

14 years ago | 0

Answered
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...

14 years ago | 0

Answered
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...

14 years ago | 0

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

14 years ago | 1

Answered
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...

14 years ago | 0

| accepted

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

14 years ago | 3

Answered
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)

14 years ago | 0

| accepted

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

14 years ago | 0

| accepted

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

14 years ago | 1

| accepted

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

14 years ago | 0

Answered
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...

14 years ago | 0

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

14 years ago | 0

Answered
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

14 years ago | 0

| accepted

Answered
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|

14 years ago | 0

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

14 years ago | 4

| accepted

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

14 years ago | 0

Answered
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 ...

14 years ago | 0

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

14 years ago | 0

| accepted

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

14 years ago | 0

Load more