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

8 years ago | 3

| accepted

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

8 years ago | 0

Answered
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,...

8 years ago | 2

Answered
Logical statement applicable to entire matrix
You can try while all(delta_Cd(:) < tolerance) HTH

8 years ago | 0

Answered
"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 ...

8 years ago | 1

| accepted

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

8 years ago | 0

| accepted

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

8 years ago | 1

| accepted

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

8 years ago | 0

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

8 years ago | 1

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

8 years ago | 0

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

8 years ago | 0

| accepted

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

8 years ago | 0

| accepted

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

8 years ago | 0

| accepted

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

8 years ago | 0

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

8 years ago | 1

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

8 years ago | 0

| accepted

Answered
how to solve tan(x)-tanh(x)=0
Try fzero(@(x)tan(x)-tanh(x),-2) This uses anonymous function instead. HTH

8 years ago | 0

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

8 years ago | 0

Answered
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

9 years ago | 4

| accepted

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

9 years ago | 1

| accepted

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

9 years ago | 1

| accepted

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

9 years ago | 0

Answered
I am not able to run "rainpl(range,freq,rainrate,elev)" function on my MATLAb. It says the function is not defined. How can i add this function to my MATLAB liberay. Thank you.
|rainpl| ships in Phased Array System Toolbox. You can find out if you have the corresponding license by running |ver| in MATLAB...

9 years ago | 0

Answered
phased.Radiator: what are the units of measurement of the output signal and what is the reference distance?
The radiator applies the antenna spatial response to the signal. In the simplest form, it essentially performs the following equ...

9 years ago | 0

Answered
why conj is used in this example?(Scan_Radar_Using_a_Uniform_Rectangular_Array)
The confusion probably comes from the fact that the weights in radiator and pattern plot get treated slightly different. In ...

9 years ago | 0

Answered
I can not create a matrix.
I don't know what your logic is but the code is behaving as expected. The first condition |(b(i)==c(j))| is always satisfied so ...

9 years ago | 1

Answered
"butter" filter: Undefined function
Do you have Signal Processing Toolbox installed? You can find out by typing >> ver in the command window. HTH

9 years ago | 0

Answered
There is no String property on the Figure class? GUI issue.
From the error message, it seems that the |handles.output1| variable points to a figure class, which does not have a string prop...

9 years ago | 0

| accepted

Answered
How can I see all tabs in the Signal Analyzer app?
You may need to update your MATLAB to a newer version to see the other buttons. Based on the release notes at <https://www.ma...

9 years ago | 0

| accepted

Load more