Risposto
Forming a block diagonal matrix of one certain matrix?
eval(sprintf('Out = blkdiag(A%s);',repmat(',A',1,99))) HTH

oltre 9 anni fa | 0

Risposto
plotting sinuos curve using matlab
looks like it should be polarplot(phi,r) instead of polarplot(r,phi) HTH

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 2

| accettato

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 1

Risposto
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://...

oltre 9 anni fa | 1

| accettato

Risposto
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)...

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 1

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

oltre 9 anni fa | 3

Risposto
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*...

oltre 9 anni fa | 1

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

oltre 9 anni fa | 0

Risposto
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

oltre 9 anni fa | 1

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 1

Risposto
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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 18

| accettato

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

oltre 9 anni fa | 1

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 2

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

oltre 9 anni fa | 2

| accettato

Risposto
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'|...

oltre 9 anni fa | 0

Risposto
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

oltre 9 anni fa | 1

| accettato

Risposto
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

oltre 9 anni fa | 0

Carica altro