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

Answered
What is the difference between "phased.LinearFMWaveform" and "phased.FMCWWaveform"
Hi Ali, LinearFMWaveform is a pulse waveform, meaning that in general the system only transmit a very short period of time du...

13 years ago | 0

| accepted

Answered
Concatenate cells: making column and row headers
table(2:4) = row; table(2:4,1) = col;

13 years ago | 0

Answered
Matlab OOP tutorial/resource needed
I would start from the resource below http://www.mathworks.com/discovery/object-oriented-programming.html

13 years ago | 0

Answered
Adding all previous to create a new row
You can use |cumsum| y = cumsum(x) You can also do filter(ones(1,numel(x)),1,x)

13 years ago | 0

| accepted

Answered
time domain convolution not reversing frequency domain multiplication? ifft scaling isssues?
Looks like you are comparing the result of |conv| with the frequency domain multiplication? If that's the case, to achieve the s...

13 years ago | 0

Answered
Taking an IFFT of discrete numbers
Not sure if I understand your question correctly but just talking about IFFT operation itself, it has nothing to do with the fre...

13 years ago | 0

| accepted

Answered
hiding legend in plot
I assume you have 5 handles, h1 through h5, but want to hide h4 from appearing in a legend. If that's the case, since you know a...

13 years ago | 4

| accepted

Answered
delete rows in Matrix 'A' with same values 'c' in column 'b'
Here is an example: b = 3; c = [2 4]; A = perms(1:4); A(ismember(A(:,b),c),:)=[]

13 years ago | 1

| accepted

Answered
copying values using if statements
say x is your matrix x = randn(54,1); x(x<0)= 0

13 years ago | 0

Load more