답변 있음
How can I find the indices where an array is closest to a certain value.
This may be helpful to your problem http://blogs.mathworks.com/pick/2007/06/20/zero-crossings-on-arbitrary-signals/

13년 초과 전 | 0

답변 있음
remove the space between the bars in a bar chart?
Are you looking for something like below? bar(1:10,1:10,1) The last argument, 1, stands for bar width.

13년 초과 전 | 1

답변 있음
Array indexing question for vectorization
You can try the following trick c = unique(IND) d = accumarray(IND',B',[],@prod) A(c) = A(c).*d(c)'

13년 초과 전 | 0

| 수락됨

답변 있음
OOP: How to avoid recalculation on dependent properties (I hope a MathWork Developer could give me an answer too)
Hi Ricardo, By definition, the value of dependent property depends on the values of object's other properties and probably th...

13년 초과 전 | 0

| 수락됨

답변 있음
Designing a Filter in MATLAB
You need to figure out a rule yourself because other people cannot know why the specific row is an error but others are not. Usi...

13년 초과 전 | 0

답변 있음
How can design a circular array for sound beamforming application?
Hi Syamesh, Here is an example for producing a circular array. It is actually from the command line help of phased.ConformalA...

13년 초과 전 | 0

답변 있음
Fibonacci Sequence Recursion, Help!
Several issues: (1) the result of fib(n) never returned. (2) Your fib() only returns one value, not a series You can chan...

13년 초과 전 | 0

| 수락됨

답변 있음
Magnitude of output signal after fourier transform filter?
If you want magnitude, it should be abs(f2)

13년 초과 전 | 0

답변 있음
matched filter design of a given channel filter
conj(fliplr(hpof1))

13년 초과 전 | 0

답변 있음
Question on plots i,e different line properties
You can use LineStyleOrder and ColorOrder to achieve the combination between color and line style. However, I'm not aware an int...

13년 초과 전 | 0

답변 있음
square of a vector
My guess is you need an inner product, i.e. A = ||B-C||^2, you can do it many different ways, one way is B = ones(3,1); ...

13년 초과 전 | 0

| 수락됨

답변 있음
Compute average of each value in a matrix without using for
you can use |conv2| or |imfilter|, for example x = magic(3) y = conv2(ones(3)/9,x)

13년 초과 전 | 0

| 수락됨

답변 있음
Find Duplicates in cellarrays / use of subsindex for cellarrays
Is this what you are looking for? X = A(IA,:) Y = A(setdiff(1:3,A),:)

13년 초과 전 | 0

답변 있음
How to send a set of bytes in fwrite or fprintf command?
Here is an example using |sprintf|, but |fprintf| is similar >> sprintf('0x%02x',24) ans = 0x18

13년 초과 전 | 0

답변 있음
sgolayfilt function question ask
Do you have Signal Processing Toolbox installed? You can check if you have it by running ver Also, what does which...

13년 초과 전 | 0

답변 있음
Windowing in a 2D-FFT non image matrix
I think the two approaches are equivalent, see the example below x = magic(8) w = hamming(8) fft2(x.*(w*w')) y1 = ...

13년 초과 전 | 0

| 수락됨

답변 있음
Question regarding FFT MATLAB demo
Hi Martin, In theory, Fourier transform can be performed using any number of data points. In old days, people prefer to ha...

13년 초과 전 | 1

| 수락됨

답변 있음
factor directional antenna array
Hi Pomisov, There are two ways you can see the directivity information. The first one is to plot the radiation pattern. Fo...

13년 초과 전 | 0

| 수락됨

답변 있음
can i design a dual band bandpass filter using fda tool in matlab
There is also an option for designing "multiband" filter in FDATool

13년 초과 전 | 0

답변 있음
Does anyone know how to get technical assistance with the Phased Array toolbox?
Hi Michael, I sent you a follow up email regarding your last question on Monday. If you need any further information, please ...

13년 초과 전 | 0

답변 있음
How do we pass our signal through the filter designed by us using FDA tool?
Say you generated the MATLAB file named |myfilter.m|. Then you can do the following to filter your signal |x| Hd = myfilter...

13년 초과 전 | 3

답변 있음
Calculating the percentage in a matrix
Here is one way to do it in MATLAB A = [1 2 1;2 2 3;1 1 2]; [ua,~,uaidx] = unique(A(:)); uapercent = accumarray(uaidx...

13년 초과 전 | 0

| 수락됨

답변 있음
Need help understanding what this filter does
It is just an auto regressive filter, in your case, your filter coefficients are b = 0.2 a = [1 -0.8] So if you writ...

13년 초과 전 | 0

| 수락됨

답변 있음
Won't convert NaNs in cell array to zeros
You should use |isnan| to test whether a number is NaN or not.

13년 초과 전 | 1

| 수락됨

답변 있음
How to save a filename that is part user input and part text?
save(sprintf('%sadd',a),'x','-ascii')

13년 초과 전 | 0

| 수락됨

답변 있음
Distribute the values from fft() logarithmically - not plotting
If your frequency bins falls on frequency bins of an FFT, you can try Goertzel algorithm http://www.mathworks.com/help/signal...

13년 초과 전 | 0

답변 있음
Normalized Frequency in Analog Filter Design.
Normalized frequency is for digital filters. If you want to design analog filters, they don't apply. Like you mentioned, you sh...

13년 초과 전 | 0

| 수락됨

답변 있음
Why does LinearFMWaveform require integer Sampling Rate / PRF ratios?
Hi Michael, The pulse supposed to repeat itself at the PRF. If the ratio is not an integer, then the waveform cannot be start...

13년 초과 전 | 0

답변 있음
some Matlab functions are not implemented in their m files
Those are built-in functions and the MATLAB file is only for the documentation purpose. When you call such functions, MATLAB kno...

13년 초과 전 | 1

답변 있음
How to use Floor command
This has nothing to do with |floor|, it's part of the floating point computation. See the link below http://matlab.wikia.com/...

13년 초과 전 | 0

더 보기