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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 1

| accepted

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

13 years ago | 0

| accepted

Answered
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

13 years ago | 3

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

13 years ago | 1

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

| accepted

Answered
targeting a single piece of data from an array
min(min(x)) and max(max(x)) Or min(x(:)) and max(x(:))

13 years ago | 0

Answered
Avoiding for loops problem
sum(bsxfun(@minus,permute(A,[1 3 2]),permute(B,[3 1 2])).^2,3)

13 years ago | 0

Answered
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,[])).'

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 1

| accepted

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

13 years ago | 0

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

13 years ago | 0

| accepted

Answered
inserting vectors into a matrix
If your B is a 4x1 column vector, you can simply do A = [B A]

13 years ago | 0

Answered
How can I increase the text size of the MATLAB 2012b help documentation?
You can use Ctrl + to increase the font size.

13 years ago | 1

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 1

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

13 years ago | 1

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

13 years ago | 0

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

13 years ago | 0

| accepted

Answered
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

13 years ago | 1

| accepted

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

13 years ago | 0

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

13 years ago | 0

| accepted

Answered
linear chirp signal generation ?
It should be cos(2*pi*f.*t) instead of cos(f)

13 years ago | 0

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

13 years ago | 0

Answered
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

13 years ago | 0

Load more