回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 0

回答済み
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年以上 前 | 1

| 採用済み

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

14年以上 前 | 0

回答済み
Error in creating Class
You can try temp = struct2cell(theStruct); ncitem(temp{:});

14年以上 前 | 0

回答済み
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年以上 前 | 0

回答済み
problem printing double format values
You missed a t, it's |fprintf|, not |fprinf|

14年以上 前 | 0

回答済み
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年以上 前 | 0

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

14年以上 前 | 0

回答済み
Missing Statistics Toolbox
Hi Carl, Does rehash toolboxreset rehash toolboxcache help? Also, if you do ver Do you see Statistics To...

14年以上 前 | 0

回答済み
downsample
There are several possibilities. You can use either |upfirdn| or design the filter using |fdesign.decimator| and then filter you...

14年以上 前 | 0

| 採用済み

回答済み
mutiplying a role of number and seach or max and min value
You can use |kron| to do what you want. kron(a,b) doc kron As to finding out what |a| and |b| is, given the regular...

14年以上 前 | 0

回答済み
matrix reshaping
You can try B = A.'; B = B(:).';

14年以上 前 | 0

回答済み
Use a loop to load .dat files (with matrices) and manipulate them
If you use |dir|, it returns a struct. In your case, you should do load(D(i).name) instead. HTH

14年以上 前 | 0

回答済み
function call
You can add it to your path. doc addpath

14年以上 前 | 0

回答済み
how to do implement difference equation in matlab
You are on the right track in general, but there are two things I want to point out: # If your |x| is |2*n|, then |x(0)| is 0...

14年以上 前 | 0

回答済み
how to do implement difference equation in matlab
I think your |b| is incorrect, it should be |[1 1]| instead. To accommodate for the initial value of |y| and |x|, you need to tr...

14年以上 前 | 2

回答済み
Filter Question - FIR and IRR
The approach looks fine. I assume your sampling frequency is 140 kHz? If that's the case, I think you are just missing an |r_s| ...

14年以上 前 | 0

回答済み
Need help for cross checking of eigen Vector
The eigenvectors are not unique, they can differ by a scale. Based on MATLAB's answer, your eigenvector for the eigenvalue of 5 ...

14年以上 前 | 1

回答済み
Plot axis limits
You can give following command a try axis tight If you want more control, you can use |axis| command to control the limits ...

14年以上 前 | 0

回答済み
Please help me understand my homework
It seems that you never compute your |H(k)|. So once |k>1|, there is no value for |H(k)|.

14年以上 前 | 0

回答済み
Pole Zero Plot of Transfer Fucntion H(z)
You can use |zplane|, you can specify either the zero/pole directly or the coefficients. For example, using your equation, you c...

14年以上 前 | 0

回答済み
read two different tracks in matlab
I assume this is similar to a stereo signal. If that's the case, then you can still use |wavread| to read in the file. [y,...

14年以上 前 | 0

回答済み
signals denoising
Hi Amani, You can try to look at the following demo and doc if you have Wavelet Toolbox doc wden http://www.mathworks...

15年弱 前 | 1

| 採用済み

回答済み
Signal Processing - Cross-Correlation to obtain Lag times - further question related to previous answer
Hi Trudy, The answer below should be helpful. http://www.mathworks.com/matlabcentral/answers/19599-time-delay-between-two-...

15年弱 前 | 0

| 採用済み

回答済み
help on if statement
You can vectorize this in one command: idx = 1:31; find( (X4(idx,1)>X4(idx,2))&(X4(idx,2)>X4(idx,3))&(X4(idx,3)>X4(idx,4)...

15年弱 前 | 1

| 採用済み

回答済み
plot
There are several things you can do, the simplest is probably plot(t,xt(1:length(t)),t,yt(1:length(t))) This assumes that yo...

15年弱 前 | 0

回答済み
How to see freq response of a wave file
Let's say you have a wav file called foo.wav, you can use spectrum object to see its spectrum [y,fs] = wavread('foo.wav'); ...

15年弱 前 | 0

回答済み
how to do wavwrite on this mat file
To write a wave file, you need at least the signal and the sampling frequency. From you example, it seems you can just do w...

15年弱 前 | 0

回答済み
2nd interpolation of irregular data
Hi Scott, You can use |TriScatteredInterp| to do this. doc TriScatteredInterp HTH

15年弱 前 | 0

さらに読み込む