Answered
Envelope(signal,np,'peak') error in Matlab R2015b
Do you have another |envelope| function on your path? What does which envelope return? If it does not point to the one u...

9 years ago | 0

Answered
Matrix with binomial permutation
dec2bin(0:2^K-1)-'0'+1 HTH

9 years ago | 2

| accepted

Answered
simpler way to make new matlab function compatible to early version
I believe in a function, MATLAB does some static analysis so it sees flip first as a variable, even though it represents an anon...

9 years ago | 0

Answered
matlab code to generate frequency signal with RF values
I'm not sure what you mean but you can generate a 3000 Hz signal like below f = 3000; N = 1000; % number of samples in ...

9 years ago | 0

Answered
Undefined function or variable 'aviread'. >> aviread('traffic.avi'); Undefined function or variable 'aviread'.
|aviread| is not part of MATLAB installation provided by MathWorks. You can find it in File Exchange. However, if your goal is t...

9 years ago | 1

Answered
how to get only the important bandwidth of a sound
You may want to look into either |powerbw| or |obw| instead <https://www.mathworks.com/help/signal/ref/obw.html> <https://...

9 years ago | 1

| accepted

Answered
Question about utilizing FFT, convolution and LTI systems
The FFT corresponds to the circular convolution rather than the linear convolution. I would do the following N = numel(o_t)...

9 years ago | 0

| accepted

Answered
array average every 30 values
squeeze(mean(reshape(A,30,48,31))) Assuming |A| is the matrix HTH

9 years ago | 0

| accepted

Answered
Is it possible to perform acoustic beamforming with a 2 microphone ULA for real world speech ?
I'm not an expert on microphone arrays but here is how I look at it. The performance of a beamforming algorithm depends on th...

9 years ago | 0

Answered
How can I calculate total harmonic distortion using fft?
There is actually a function for computing THD, maybe you can give that a try? <https://www.mathworks.com/help/signal/ref/thd...

9 years ago | 1

Answered
Instantiations of custom classes *sometimes* unique, sometimes not. Bug?
If you look at the following reference page https://www.mathworks.com/help/matlab/matlab_oop/specifying-properties.html in...

9 years ago | 3

Answered
Why do I get different answer between circular shifting and modulation for FFT?
You are shifting the signal by 62 samples, not 2 samples, so you should define your |modulate| as modulate = exp(-j*2*pi*k*...

9 years ago | 1

Answered
Two variable function computation
You may want to check out |waterfall| <https://www.mathworks.com/help/matlab/ref/waterfall.html> HTH

9 years ago | 0

Answered
How to put different arrays in one big array?
You need to either pad them into same size or you can use cell array AllArray = {AA, BB, CC} HTH

9 years ago | 1

Answered
Difference in MATLAB function evaluation
For your use case, 150! is a very large number so the numerical precision issue starts to kick in. I'd suggest you to use |gamma...

9 years ago | 0

| accepted

Answered
Absolute value of a 3-D complex vector
Are we talking about spatial components? If so, I believe it's the sum of absolute values for 3 components. You can think of it ...

9 years ago | 0

| accepted

Answered
Refer to elements in a matrix
You may want to look at |ind2sub| function, but do you mean |data = 22|? I couldn't see how the 2nd row 6th column maps to eleme...

9 years ago | 1

Answered
how to detect the number of signal in the presence of correlated noise. array signal processng
AIC and MDL tests may be good starting points for such tasks. HTH

9 years ago | 0

| accepted

Answered
What are "frequency bins" ?
frequency bins are intervals between samples in frequency domain. For example, if your sample rate is 100 Hz and your FFT size i...

9 years ago | 18

| accepted

Answered
Time Delay Beamforming with microphone arrays
You need to put quote around it because it supposed to be a string, like this hbf = phased.TimeDelayBeamformer('SensorArray...

9 years ago | 1

Answered
question about grand clutter simulation
Could you explain in more details? The clutter itself simulates a GMTI scene so the there is a correlation between the velocity ...

9 years ago | 0

Answered
Scan Angle Range in URA scanning radar
This is because you have backbaffled as true, so essentially your elements has no response toward regions beyond -90 to 90. Howe...

9 years ago | 2

Answered
How does Root-MUSIC algorithm for DOA estimation for a ULA work for a recorded audio file ?
In your example, you simulated the received signal at 20 degrees, that's why the estimated result is 20 degree. In real life, if...

9 years ago | 2

| accepted

Answered
Acoustic Beamforming in microphone arrays
To get the weights, you can do [y,w] = step(mvdrbeamformer,x); Then to plot the pattern, you can pass |w| as |'Weights'|...

9 years ago | 0

Answered
How to insert a variable in 'exist' command in matlab?
You can use |sprintf| if exist(sprintf('data-%4.4f-value-%4.4f.dat',c,rr),'file') == 2 HTH

9 years ago | 1

| accepted

Answered
Find frequency from fourier transform
The signal should be defined as exp(1i*2*pi*sin_freq*time) Otherwise, your frequency is scaled by 2*pi. HTH

9 years ago | 0

Answered
DFT linearity - "melodic" tones spectrum problem
You need to define the |sum_dft| as sum_dft = s1_dft+s2_dft+s3_dft; instead and then plot and compare using |abs(sum_dft...

9 years ago | 1

| accepted

Answered
Kalman filter Rt and Qt
Both Rt and Qt should be square matrices. Rt is the process noise covariance and Qt is the measurement noise covariance. The sub...

9 years ago | 2

| accepted

Load more