Réponse apportée
Triangular wave form Up and Down sweep problem??
The beat frequency computed from upsweep and downsweep are meant to be different. It is that difference help you resolve the ran...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How does MATLAB pick colors from Colormap?
You can see the order of color by doing get(gca,'ColorOrder')

plus de 13 ans il y a | 0

Réponse apportée
Acoustic Beamforming Using a Rectangular Microphone Array
The error is because you are adding noise to the angle. I believe it's a typo. That line should just reads like this temp...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Automotive Adaptive Cruise Control Using FMCW Technology using Triangular sweep
Hi Ali, I assume you are simply running the script for that demo. You are right that during the one triangle period consists ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Undefined function 'tf' for input arguments of type 'char'.
Do you have Control System Toolbox? What is the out put of the following command? >> ver

plus de 13 ans il y a | 3

Réponse apportée
Trying to make loop works.
Because you never update Y in your first loop so it keeps going down. You need to update Y value in the loop, for example Y...

plus de 13 ans il y a | 1

Réponse apportée
Bug, feature, or misuse? Issue with map container
Here is an example h1 = containers.Map({'X','Y'},{'X','Y'}) h2 = containers.Map(h1.keys,h1.values) h2('Z') = 'Z' h...

plus de 13 ans il y a | 0

Réponse apportée
how to have character replacement
Sounds like a sequencing problem. You can do it like this x = '11000100'; idx = bin2dec(reshape(x,2,[]).')+1; matchse...

plus de 13 ans il y a | 0

Réponse apportée
How to get the filter coefficients in the double format.
Do you want to simply display or you want the coefficients themselves? If you want only the display, then Walter's solution abov...

plus de 13 ans il y a | 0

Réponse apportée
subtraction of two signal in digital domain received from radar
Hi Lynette, I think you are talking about pulse canceller, which is a well known technique in MTI radar. Yes it can be used t...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
targeting a single piece of data from an array
min(min(x)) and max(max(x)) Or min(x(:)) and max(x(:))

plus de 13 ans il y a | 0

Réponse apportée
Avoiding for loops problem
sum(bsxfun(@minus,permute(A,[1 3 2]),permute(B,[3 1 2])).^2,3)

plus de 13 ans il y a | 0

Réponse apportée
sum function and add using loop
Here is an example that you have 10 elements and you add every two of them. x = rand(10,1); sum(reshape(x,2,[])).'

plus de 13 ans il y a | 0

Réponse apportée
Number of computations in xcorr and fft
I believe |xcorr| uses |fft| internally, so it is essentially two FFT and one IFFT. The computation complexity of FFT is well kn...

plus de 13 ans il y a | 0

Réponse apportée
How to segment a voice signal into frames of 256 samples?
Do you mean something like this? x = rand(1024,1); y = buffer(x,256);

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
how to pass a 13 bit barker code through a matched filter?
13 bit Barker code is well documented, see http://en.wikipedia.org/wiki/Barker_code As to the matched filter, in theory, i...

plus de 13 ans il y a | 0

Réponse apportée
taking data from a matrix and summing to a new vector
Here is an example x = rand(40,8); sum(x(:,[3 4 5]),2)

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
inserting vectors into a matrix
If your B is a 4x1 column vector, you can simply do A = [B A]

plus de 13 ans il y a | 0

Réponse apportée
How can I increase the text size of the MATLAB 2012b help documentation?
You can use Ctrl + to increase the font size.

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Plot for two range of x
Something like this? x = [0:0.01:1 nan 2:0.01:3] y = x./5 plot(x,y)

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
MVDR fail with two identical target.
Hi Zohar, When you set the frequency of the second signal to 300 Hz, your two signals are identical. This represent the case ...

plus de 13 ans il y a | 1

Réponse apportée
How to find unique pages in a 3d matrix?
You can try to reshape it to 2D first, then remove duplicates. For example A = cat(3, [1 2; 3 4], [5 6; 3 4], [5 6; 1 2],[1...

plus de 13 ans il y a | 1

Réponse apportée
Bubble sort not working like I want it
This only gets the largest element to the bottom. You need another level of iteration to sort the rest of them.

plus de 13 ans il y a | 0

Réponse apportée
Maintaining function evaluation count in a class method
You should be able to do this with a handle class http://www.mathworks.com/help/matlab/matlab_oop/comparing-handle-and-value-...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How can I add a date vector for the x-axis of a normal plot?
You should be able to use |datetick| http://www.mathworks.com/help/matlab/ref/datetick.html

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Sorting an array for real only solutions or getting rid of complex results using embedded matlab function
try Sol = R(~imag(R)) and see if it is what you want.

plus de 13 ans il y a | 0

Réponse apportée
i have a signal now i want to calculate the DC values of it
Theoretically, the DC component is simply mean(s1) If this is not what you want, could you elaborate a little more what ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
linear chirp signal generation ?
It should be cos(2*pi*f.*t) instead of cos(f)

plus de 13 ans il y a | 0

Réponse apportée
Help to generate radar chirp signal
I suggest you to take look at Phased Array System Toolbox if you have access to it. http://www.mathworks.com/help/phased/ref/...

plus de 13 ans il y a | 0

Réponse apportée
How to connect two digital filters in series?
You can use |dfilt.cascade| to achieve this http://www.mathworks.com/help/signal/ref/dfilt.cascade.html

plus de 13 ans il y a | 0

Charger plus