回答済み
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年 前 | 1

回答済み
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年 前 | 0

| 採用済み

回答済み
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年 前 | 1

回答済み
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年 前 | 0

| 採用済み

回答済み
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年 前 | 0

| 採用済み

回答済み
specifying the handle as you plot
h = plot(0.5,0.5) returns the handle in |h|

約14年 前 | 1

| 採用済み

回答済み
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年 前 | 1

| 採用済み

回答済み
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年 前 | 0

回答済み
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年 前 | 0

回答済み
why is error?
There is no variable |xzycbcr| defined in your code., I only see |YCBCR|

約14年 前 | 0

回答済み
am modulation
See http://www.mathworks.com/help/toolbox/comm/ref/ammod.html

約14年 前 | 0

| 採用済み

回答済み
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年 前 | 0

回答済み
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年 前 | 0

回答済み
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年 前 | 0

回答済み
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年 前 | 1

回答済み
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年 前 | 0

| 採用済み

回答済み
inverse of log10
a = 10; b = log10(a); c = 10^b

約14年 前 | 3

回答済み
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年 前 | 0

| 採用済み

回答済み
error handling
You could do something like this try ... catch me errmsg = lasterror; errstr = errmsg.message; end ...

約14年 前 | 0

| 採用済み

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

約14年 前 | 1

| 採用済み

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

約14年 前 | 0

回答済み
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年 前 | 0

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

約14年 前 | 0

回答済み
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年 前 | 0

| 採用済み

回答済み
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年 前 | 0

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

約14年 前 | 4

| 採用済み

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

約14年 前 | 0

回答済み
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年 前 | 0

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

約14年 前 | 0

| 採用済み

回答済み
how to step out of a for loop
You can manually set the loop variable to meet the loop ending condition.

約14年 前 | 0

さらに読み込む