Respondida
How to implement a Bivariate Normal Density function when your mu is given in a column matrix
Just pass in |mu.'| instead, i.e., mvnpdf(x,mu.')

más de 14 años hace | 0

Respondida
function feval
It looks like your untitled2 is a script, not a function, hence cannot be evaluated by |feval|. To define a function, you need t...

más de 14 años hace | 0

| aceptada

Respondida
Error using ==> horzcat CAT arguments dimensions are not consistent. Help please !
When x1=x2 but y1~=y2, your A1 is a scalar but A2 is a column vector, hence it cannot be concatenated. Similar thing for x1~=x2 ...

más de 14 años hace | 1

| aceptada

Respondida
determinant of covariance matrix
What you have is rank-deficient so the determinant will be 0. If you just want the algorithm to work, you can try to do the diag...

más de 14 años hace | 0

Respondida
determinant of covariance matrix
Maybe your data matrix has correlated components so the resulting covariance matrix is not full rank?

más de 14 años hace | 0

Respondida
@ function handle help for finance
I don't quite see the relation of inputs. It looks like Alpha and Lag are constants and it has nothing to do with x, so what's t...

más de 14 años hace | 0

Respondida
How do I suppress answer in Matlab?
Just don't define output in the function definition line, or when you call the function, add semicolon at the end, i.e., fi...

más de 14 años hace | 0

| aceptada

Respondida
Function to Vector
If I understand your question correctly, you need to do for i = 1:10 a(i) = crr(x(i)) end But you could try |arr...

más de 14 años hace | 0

Respondida
LPF a random signal
You need to first determine what are the frequencies you want to keep and what are the frequencies you want to filter out. You c...

más de 14 años hace | 1

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

Respondida
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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 1

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

más de 14 años hace | 2

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 1

| aceptada

Respondida
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

más de 14 años hace | 0

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

más de 14 años hace | 1

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 1

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 1

| aceptada

Cargar más