Answered
Use griddedInterpolant in MATLAB Function / Alternative to Simulink Functions in For Each Subsystem?
For the first question, the following link shows all supported functions for code generation and griddedInterpolant is not in it...

bijna 6 jaar ago | 1

Answered
Ho we run a section code one time in Matlab function block ? In below body I dont want assigning zeros in Dout after 1st iteration. This matlab function block run 100 times and problem is it every time set zeros in dout.
Do you get an error? What is the error message? Looks like you may have some dimension issues? An alternative way is to control ...

bijna 6 jaar ago | 0

Answered
Unable to compute kalman filter innovation (measurement residuals) in the new sensor fusion and tracking toolbox
Are you using trakingEKF? <https://www.mathworks.com/help/fusion/ref/trackingekf-class.html> There is a residual method yo...

bijna 6 jaar ago | 0

Answered
Ho we run a section code one time in Matlab function block ? In below body I dont want assigning zeros in Dout after 1st iteration. This matlab function block run 100 times and problem is it every time set zeros in dout.
You can make Dout persistent so it preserves the value between runs, like this persistent Dout; if isempty(Dout) Do...

bijna 6 jaar ago | 0

| accepted

Answered
Bandwidth of a chirp signal
I think the two questions are the same, essentially your signal model is cos(2*pi*B*t^2) This means that when you look a...

bijna 6 jaar ago | 0

| accepted

Answered
How can I add a shifted version of a signal to the original signal?
Can you clarify why the result of delayseq() does not satisfy your needs? Thanks.

bijna 6 jaar ago | 0

Answered
Projection between two coordinate systems
Let's use coodinate system g as the reference and assume your coordinates are Pg = [xg;yg;zg]. For coordinate system l, the orgi...

bijna 6 jaar ago | 0

Answered
How can i draw contours of a function of the form f(x)=X1^2+X2^2?
Are you looking for something like this? ezcontour(@(x1,x2)x1.^2+x2.^2) HTH

bijna 6 jaar ago | 0

Answered
Insert values of a vector between two elements of another vector and at the end of it.
Is it just c = [a;b] c = c(:) Did I understand it correctly? HTH

bijna 6 jaar ago | 1

| accepted

Answered
How to match two matrices
Are you trying to align the two signals so [800 798] in column 1 matches [800 798] in columns 2? In that case you can try |align...

bijna 6 jaar ago | 0

| accepted

Answered
fdesign 'rational sample rate converter' rsrc sampling frequency
I believe it's the sampling rate of the input signal to the filter, so in your case, I think it's the interpolated sampling rate...

bijna 6 jaar ago | 0

Answered
multi user beamforming using lte toolbox
Have you seen the following example, maybe it can serve as a starting point. <https://www.mathworks.com/help/phased/examples/...

bijna 6 jaar ago | 0

Answered
Radar and signal processing.
You may want to take a look at |ambgfun| function from Phased Array System Toolbox <https://www.mathworks.com/help/phased/ref...

bijna 6 jaar ago | 0

Answered
phased.CustomAntennaElement Import and Interpolate
We currently don't support this yet but this is something we want to support in the product. There are many different ways to do...

bijna 6 jaar ago | 0

| accepted

Answered
about 'phased.FreeSpace' function.
You can use the |fspl| function to compute the loss and compensate accordingly, but do you mind sharing your use case? I'm curio...

bijna 6 jaar ago | 1

Answered
pwelch vs fft, plotting with 10*log10
1. pwelch uses Welch method, which involves windowing and averaging on top of fft, that's why they are different. The basic shap...

bijna 6 jaar ago | 2

Answered
making UCA using spirall antenna
If you have 17 frequencies, then your FrequencyResponse is either a scalar, which means the response is flat across all frequenc...

bijna 6 jaar ago | 0

Answered
When I compute the cross spectral densitiy function Pxy using cpsd.m, and divide by Pxx, the angle is the wrong sign when compared to tfestimate.m Why is that.
This is because in |tfestimate|, the transfer function is defined as Pyx/Pxx, and Pyx is conjugate of Pxy, that's why you see th...

bijna 6 jaar ago | 0

Answered
making UCA using spirall antenna
Phased Array System Toolbox models antenna at pattern level. You have two choices: 1. Capture the pattern of a spiral antenna...

bijna 6 jaar ago | 0

Answered
What stage to add noise in FMCW radar system?
The line sig2=receiver(sig) already adds noise to the signal and the noise power is determined by the parameters in rece...

bijna 6 jaar ago | 0

Answered
Can anyone help me how to open this file ? The file is genererated by a pulse radar.....
This looks like a binary file format. It's not clear to me whether you want to read or write such a file but MATLAB provides the...

bijna 6 jaar ago | 0

Answered
phased.SubbandMVDRBeamformer for microphone array
I would recommend you to look at Frost beamformer which is a time domain implementation. This beamformer works for both narrowba...

bijna 6 jaar ago | 1

Answered
Doppler Velocity from I&Q channel
If you are using a pure CW system, you cannot derive the range information. In that case you just mix the received signal with t...

bijna 6 jaar ago | 0

Answered
Doppler Velocity from I&Q channel
There is a Doppler estimation example in Phased Array System Toolbox. You can find it at <https://www.mathworks.com/help/phas...

bijna 6 jaar ago | 0

Answered
How to add variables in workspace with names derived from a char array and corresponding values stored in a double array
Here is an example col_names = ['time ';'speed']; data = [0 1;2 3;4 5]; for m = 1:2 eval(sprintf('%s = data(:,...

bijna 6 jaar ago | 0

| accepted

Answered
Plotting two x axes with one Y-axis, and second x axis are non-ordered numbers
I would replace the code after ax1 = gca; with the following ax2 = axes('Position',get(ax1,'Position'),'XAxisLocati...

bijna 6 jaar ago | 0

Answered
How does this time domain plot refer to the frequency plot in the automotive adapting cruise control example?
This is because the signal is critically sampled (bandwidth 150 MHz and sampling rate 150 MHz) so visually it looks as if the si...

bijna 6 jaar ago | 0

| accepted

Answered
Is there a simulator of SONAR using matlab?
There are two related examples in Phased Array System Toolbox <https://www.mathworks.com/help/phased/examples/underwater-targ...

bijna 6 jaar ago | 0

Answered
Error: SpatialSmoothing should not be larger than -1 (Phased Array Toolbox)
Thanks for bringing this to our attention, the error is misleading and we should fix it. The real reason behind the scene is tha...

bijna 6 jaar ago | 0

| accepted

Answered
Error when applying filter to tall data
According to the following list, |dfilt| does not support tall array at this point. HTH

bijna 6 jaar ago | 0

Load more