Answered
how to add delay to a signal
If your |D| is an integer multiple of the sampling frequency, then all you need to do is adding 0 in front of the signal. Howeve...

14 years ago | 0

Answered
How to compute the fourier transform for a signal u(t) over frequency band [-10,10]?
Depending on your sampling rate and the number of points in your signal, you may want to also explore the following function ...

14 years ago | 0

Answered
Printing values to the command window
Use |fprintf| doc fprintf

14 years ago | 0

Answered
scale polar plot
You can plot the normalized G if all you care is the location. polar((1:360)*pi/180,G/max(G)) You should be careful usin...

14 years ago | 0

Answered
symbol rate
You need to know how many bits form one symbol.

14 years ago | 0

Answered
power of beamformed signals
What kind of signal you have? If you have a signal of WSS, you can probably use |var| directly. doc var

14 years ago | 0

| accepted

Answered
beampattern calculation for linear array.
Besides what cyclist mentioned, I think there are several other issues in your code: # 100 elements translates to 20dB, not 100...

14 years ago | 0

Answered
Help using lastwarn.m
You need to find out the corresponding id generated by |dostuff|. You can try to do this by first reset the warning state and th...

14 years ago | 1

Answered
Suppress Warning Messages
You can use warning('off','message_id') to turn off a specific warning. You can use |lastwarn| to find out the message_...

14 years ago | 2

| accepted

Answered
Finding the peak values of a graph
You should be able to use |findpeaks| to do this. doc findpeaks

14 years ago | 0

Answered
Multiple delays using cross correlation
Once you get the result of |xcorr|, you can use |findpeaks| to locate multiple peaks. [x,lag] = xcorr(r1,r2); [pks, locs...

14 years ago | 0

Answered
Directivity pattern for a beamformed signal
In many literature, beam pattern is a narrow band concept so it is related to the steering vector. Since you are using time doma...

14 years ago | 1

| accepted

Answered
Sliding window algorathim to find the covariance matrix and the received signal model in radar detection ?
You may want to take a look at |corrmtx|. doc corrmtx

14 years ago | 0

Answered
3D graph drawing
You can try |hold| surf(X,Y,Z); hold on; surf(X,W,V);

14 years ago | 1

Answered
I don't know, what I do wrong?:'(
You typed |slove| and it should be |solve|

14 years ago | 0

| accepted

Answered
LaTeX Interpreter and Blackboard bold (\mathbb{}) for text
If that is all you want to do, you can use the default tex interpreter. ylabel('\alpha in \bf{R}')

14 years ago | 0

| accepted

Answered
How many ways to determine signal frequency?
Hi Tim, Here is my opinion on this issue and I certainly could be wrong. I would say Fourier transform, cosine/sine trans...

14 years ago | 1

Answered
Quicky. re 'whos' and workspace.
You could try |evalin| doc evalin

14 years ago | 0

Answered
show partically blokced x-axis
Hi Hugh, This is because the axis mode is still 'Auto'. I would suggest you to do the following when adjusting the y axis ...

14 years ago | 0

Answered
How to rewrite a non-linear function so that f(x) = 0?
Isn't it just 3*cos(x)-x^2 and exp(x)-2*x If you have to, you can define function |f1(x)| for the left side an...

14 years ago | 0

Answered
beamforming a signal with random noise
Try the following code: t = (0:999)'/1000; s = sin(2*pi*t); ad = exp(-1i*pi*(0:7)*sin(30*pi/180)); x = s*ad; y ...

14 years ago | 1

| accepted

Answered
beamforming a signal with random noise
Hi zozo, It seems that you are using half wavelength spacing. If that's the case, your steering vector should be ad = e...

14 years ago | 0

Answered
beamforming a signal with random noise
Is your signal sin(20*pi/180) and also impinging from 20 degrees? I just want to make sure this is what you want. It looks like ...

14 years ago | 0

Answered
delay and sum beamforming(in frequency domain)
Hi Zoro, What you have so far is calculating the delays between the elements. The next steps will be (1) simulate the rece...

14 years ago | 1

| accepted

Answered
plot3
Hi Lisa, I don't think plot3 is appropriate for your purpose. I think you probably better off using |image| or |imagesc|. ...

14 years ago | 0

Answered
Error in creating Class
You can try temp = struct2cell(theStruct); ncitem(temp{:});

14 years ago | 0

Answered
To apply Gaussian in histogram?
If you want to generate random number whose histogram is Gaussian shaped, check |randn|. Otherwise, could you clarify what you m...

14 years ago | 0

Answered
problem printing double format values
You missed a t, it's |fprintf|, not |fprinf|

14 years ago | 0

Answered
How to freeze a random sample
There are some side effects using the syntax Walter mentioned. Basically MATLAB changes the random number generator silently beh...

14 years ago | 0

Answered
find position of a element in a matrix
You can use |find| find(A<7,1,'last') HTH

14 years ago | 0

Load more