Réponse apportée
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.')

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
determinant of covariance matrix
Maybe your data matrix has correlated components so the resulting covariance matrix is not full rank?

plus de 14 ans il y a | 0

Réponse apportée
@ 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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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 ...

plus de 14 ans il y a | 0

Réponse apportée
Printing values to the command window
Use |fprintf| doc fprintf

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
symbol rate
You need to know how many bits form one symbol.

plus de 14 ans il y a | 0

Réponse apportée
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

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 1

Réponse apportée
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_...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
Finding the peak values of a graph
You should be able to use |findpeaks| to do this. doc findpeaks

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
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

plus de 14 ans il y a | 0

Réponse apportée
3D graph drawing
You can try |hold| surf(X,Y,Z); hold on; surf(X,W,V);

plus de 14 ans il y a | 1

Réponse apportée
I don't know, what I do wrong?:'(
You typed |slove| and it should be |solve|

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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}')

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 14 ans il y a | 1

Réponse apportée
Quicky. re 'whos' and workspace.
You could try |evalin| doc evalin

plus de 14 ans il y a | 0

Réponse apportée
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 ...

plus de 14 ans il y a | 0

Réponse apportée
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...

plus de 14 ans il y a | 0

Réponse apportée
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 ...

plus de 14 ans il y a | 1

| A accepté

Charger plus