Réponse apportée
fprintf size without knowing the dimension
You can just do fprintf(' %s\n',num2str(size(array))); HTH

presque 9 ans il y a | 0

| A accepté

Réponse apportée
How to plot polar directivity pattern through beamform audio.wav ?
The pattern is associated with the array itself. Once the beamform is obtained, the wav file is just a time domain representatio...

presque 9 ans il y a | 0

Réponse apportée
Sum up rows of several columns with the same element in the first column
You can also use |accumarray| if you have an earlier version hm = str2double(h); [u,~,idx] = unique(hm(:,1),'stable'...

presque 9 ans il y a | 0

Réponse apportée
How to assign a structure name using an index?
Here is a simple example how you can achieve that Abb = {'file1','file2'}; temp = struct('a',3,'b',4); index = 1; ...

presque 9 ans il y a | 0

Réponse apportée
How to extract the amplitude from Hilbert Transformation?
The magnitude of an analytical signal (which is what hilbert gives you) is the envelope of the signal. Is that what you want? I'...

presque 9 ans il y a | 0

Réponse apportée
question about the signal smoothing example
For the first question, the data is recorded hourly, so the samples are done in 1:31*24. However, in the display, the x axis is ...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
What's the correct syntax for the rocsnr function for a multiple pulse noncoherent detector?
You could do something like this SNRdB = [-3 0 3]; rocsnr(SNRdB,'SignalType','NonfluctuatingNoncoherent','NumPulses',10)...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
Range and DOA for spherical wave
Phased Array System Toolbox does not have that particular algorithm. However there is an example on localization that uses corre...

presque 9 ans il y a | 0

Réponse apportée
Call elements with different ending in a loop
Here is a post you may find useful <https://www.mathworks.com/matlabcentral/answers/143-how-do-i-make-a-series-of-variables-a...

presque 9 ans il y a | 3

| A accepté

Réponse apportée
dsp.FIRRateConverter has unexpected results
Is there any reason your up and down converter factor is 8 and 2 instead of 4 and 1? Based on the documentation at <https://w...

presque 9 ans il y a | 0

Réponse apportée
Vectorize a simple code
I don't know what dimensions you have in |C|, but this looks like D = conv2(A,B); Maybe you can use D = D(1:size(C,...

presque 9 ans il y a | 2

Réponse apportée
Logical statement applicable to entire matrix
You can try while all(delta_Cd(:) < tolerance) HTH

presque 9 ans il y a | 0

Réponse apportée
"mfilt.firsrc will be removed in a future release"
What PersistentMemory does is to keep the state in the filter so if the data is streamed in, it would filter properly as if the ...

presque 9 ans il y a | 1

| A accepté

Réponse apportée
Automated Driving System Toolbox - 'radarDetectionGenerator' create radar with differernt launch waveforms
The radarDetectionGenerator is statistics based. If you want to simulate the I/Q data using different waveforms, you will need t...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
Sensor array analyzer application data recovery
You can obtain the steering vector by constructing the following array based on your configuration array = phased.URA('Elem...

presque 9 ans il y a | 1

| A accepté

Réponse apportée
Why fft amplitude changes when the signal's length changes?
This is because |fft| by default does not normalize the power. You can think the result of |fft| is adding signal samples togeth...

presque 9 ans il y a | 0

Réponse apportée
How do I find the column indices of values in matrix that are not zero, for each row.
Because each line may have different number of nonzero entries. You can use cell array to do this, like for l = 1:size(Ga...

presque 9 ans il y a | 1

Réponse apportée
Orthogonal Beamforming for ULA in U Space
You may want to use u = -1:2/N:1 instead. Otherwise, your |u| is larger than 1 and |acos| is expected to give the comple...

presque 9 ans il y a | 0

Réponse apportée
Problem with custom antenna magnitude response import
The magnitude and phase patterns are meant to be field patterns, not directivity patterns. Note that directivity has no phase so...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
Undefined variable "comm" or class "comm.RaisedCosineTransmitFilter".
You need Communications System Toolbox license to use comm.RaisedCosineTransmitFilter. You can use >> ver to see if you...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
Parameters in the ADAS slexFMCWMultiTargetsDOAExample
Could you clarify what you saw? If you execute the lines you listed above in the command window and run |slexFMCWMultiTargetsDOA...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
How can I assign a variabe name for 10 jpg files in a for loop?
Something like this might work for you for m = 1:10 filename = sprintf('A%03d.jpg',m); imread(filename,'jpg'...

presque 9 ans il y a | 0

Réponse apportée
how much is the toolbox dependent upon the 'recommended' support toolboxes ?
If it's a recommended product, it means that you don't have to have it. But you may need it depending on your application or wor...

presque 9 ans il y a | 1

Réponse apportée
how to modulate a complex time domain signal to a carrier frequency
You need to rescale your frequency axis. The PSD is on the occupied bandwidth so if you have a carrier, it will be the bandwidth...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
how to solve tan(x)-tanh(x)=0
Try fzero(@(x)tan(x)-tanh(x),-2) This uses anonymous function instead. HTH

environ 9 ans il y a | 0

Réponse apportée
Spatial smoothing for 2D array
The spatial smoothing implementation has a lot to do with how the subarrays are divided. For a linear array, although not a must...

environ 9 ans il y a | 0

Réponse apportée
How to find row/column indices having all values NaN?
If |x| is your matrix, do you mean find(all(isnan(x),2)) or find(all(isnan(x),1)) HTH

environ 9 ans il y a | 4

| A accepté

Réponse apportée
Matlab Function block code
I think you can use |persistent| variable to set a flag in the function block. If the input is ever 0, then you just ignore the ...

environ 9 ans il y a | 1

| A accepté

Réponse apportée
How to set the received signal in DoA algorithm?
Looks like you didn't add any noise so the AIC errors out. You can just add some noise, like Y = Y + sqrt(npow/2)*(randn(si...

environ 9 ans il y a | 1

| A accepté

Réponse apportée
how to do beam steering in elevation plane in edit ScanRadarExample??
The line sv = steeringvec(fc,scangrid(scanid)); computes the steering weights. If you want to scan elevation domain, ju...

environ 9 ans il y a | 0

Charger plus