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

Answered
CFAR Algorithm showing incorrect results
I don't know what CFAR algorithm you use, but if you just need the peak, you can simply use |findpeaks| function. According t...

9 years ago | 0

Answered
phased replicated subarrays with different phases on each subarray
The steering of the entire array is divided into two parts. The first parts is the weights at the subarray level, that's where y...

9 years ago | 0

| accepted

Answered
Is the stepped frequency bandwidth calculation in the phased array toolbox correct?
Could you clarify the burst bandwidth computation? I would be interested if you could point me to a reference. The stepped F...

9 years ago | 0

Answered
how to provide PMUSIC function an autocorrelation matrix
Your equation looks fine, but if you only has one 12-element vector for the data, then the algorithm cannot work properly becaus...

9 years ago | 1

| accepted

Answered
"Undefined function 'times' for input arguments of type 'channel.rician'" error on MATLAB, how to fix it?
You don't want to multiply the channel with the signal. Instead, you want to filter the signal with the channel, like the follow...

9 years ago | 0

Answered
Beamforming with microphone arrays
Looks like you are using an older version of the toolbox. Which release are you using? Instead of using pattern(h,carrierF...

9 years ago | 2

| accepted

Answered
Use objects of class 'ConstantGammaClutter' only as scalars or use a cell array
This is not about the cell array since there is only one clutter object. It is really because you are using R2015b so the new sy...

9 years ago | 0

| accepted

Answered
phased replicated subarrays with different phases on each subarray
Currently the capability of pointing the subarrays to different directions is not available in phased.ReplicatedSubarray and pha...

9 years ago | 2

Answered
Antenna Manifold or Amplitude Weights
Array manifold is sometimes used as a synonym of steering vector, so without looking at the data itself, I think it's possible t...

9 years ago | 0

| accepted

Load more