Respondida
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/

más de 13 años hace | 0

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

más de 13 años hace | 1

Respondida
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)'

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

Respondida
matched filter design of a given channel filter
conj(fliplr(hpof1))

más de 13 años hace | 0

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

más de 13 años hace | 0

Respondida
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); ...

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

| aceptada

Respondida
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),:)

más de 13 años hace | 0

Respondida
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

más de 13 años hace | 0

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

más de 13 años hace | 0

Respondida
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 = ...

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 3

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 1

Respondida
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/...

más de 13 años hace | 0

Cargar más