Respondida
how to calculate the indices's distance of a vector using the data of a matrix?
Not sure if I missed anything but looks to me this can be done by sum(d(sub2ind(size(d),x(1:end-1),x(2:end)))) HTH

más de 8 años hace | 0

Respondida
can some help me out in Extended Kalman Filter?
Could you elaborate what you mean by adjusting the error? Depending on what kind of things you are trying to track and the track...

más de 8 años hace | 0

| aceptada

Respondida
Why do I get an error on fdesign.highpass
If you are using R2010, I believe the licence you need is Filter Design Toolbox.

más de 8 años hace | 1

Respondida
how to increase phased array default far field distance
The far field assumption means that the directional pattern is only related to the angle, not the distance. The distance simply ...

más de 8 años hace | 0

Respondida
move xyz coordinate to (0,0,0) of the array in viewArray
There is no supported API for this. But once you get the figure, you can always plot the axes using regular MATLAB

más de 8 años hace | 0

| aceptada

Respondida
plot antenna 3D pattern in subplot
Could you elaborate more regarding what went wrong? I can do the following in my MATLAB figure; subplot(2,2,1); patte...

más de 8 años hace | 0

| aceptada

Respondida
Which toolboxes I need to simulate an End-to-End wireless system ?
WINNER II model is available at the following URL <https://www.mathworks.com/matlabcentral/fileexchange/59690-winner-ii-chann...

más de 8 años hace | 0

Respondida
reshape structure fields to a new array
Here is a quick example if I understand your question correctly X = struct('coord',{[1 2 3 3 2 1],[2 3 4]}) xcoord = [X....

más de 8 años hace | 1

| aceptada

Respondida
unable to calculate autocorrelation with a for loop by using xcorr
Looks like it should be rmm = rmm(lags>=0) HTH

más de 8 años hace | 0

| aceptada

Respondida
How to find water vapour density for gaspl
That could be a measurement value you obtain from, say, observatory or historical measurement data? For example, in ITU standard...

más de 8 años hace | 0

Respondida
how to save work space command in script file
You can try the |diary| function <https://www.mathworks.com/help/matlab/ref/diary.html> Alternatively you can copy and pas...

más de 8 años hace | 0

| aceptada

Respondida
3d plot peaks
You can do something like this c = 1:200; f = 1:300; % replace with your freq a = filter2(...

más de 8 años hace | 0

Respondida
Split array into cell arrays of different size
To do what you want, you can use the following lines, which is a slightly modified version of yours. Bi = find(B==1) ...

más de 8 años hace | 0

| aceptada

Respondida
Why does hilbert tranformer give a phase-shifted but amplitude-reduced signal?
The phase shift is expected so I assume you are talking about the amplitude? This is because the filter is not ideal. If you do ...

más de 8 años hace | 1

| aceptada

Respondida
How to change the phase center of a subarray in phased array antenna
Currently the phase center of a subarray cannot be changed. Could you share your use case regarding why you want to change it? A...

más de 8 años hace | 0

| aceptada

Respondida
Why is the result of the step signal convoluted with the impulse response of a lowpass filter not equal to the stepresponse of the lowpass filter?
You are mixing continuous and discrete in your model. For example, your impulse is discrete, your convolution is discrete, but y...

más de 8 años hace | 0

Respondida
Maximum size of output not bounded in matlab function block for linspace error
You said the value |n| is from a constant block, so do you ever need to change it? If the answer is no, then you can consider ha...

más de 8 años hace | 0

| aceptada

Respondida
What is the benefit to supply the gradient for function minimization?
I'm not an expert on this, but I believe that if you don't provide the gradient function, then it has to be numerically estimate...

más de 8 años hace | 0

| aceptada

Respondida
How to extract the constant phase of a sine wave?
Do you know omega? If so, you can do something like this fc = 10; omega = 2*pi; t = (0:9)/10; p = pi/2; x = sin...

más de 8 años hace | 1

Respondida
Beamforming performance depends on the frame size?
The Frost beamformer has an FIR filter whose coefficients are derived using sample matrix inversion (SMI) so the frame size is r...

más de 8 años hace | 0

Respondida
Where I can find helperCalculateCouplingMatrix.m function ?
It's a helper function for the example. If you open this example in MATLAB, there should be a button you can click to open the e...

más de 8 años hace | 0

Respondida
Phased array Channel problems with user fed position and velocity data.
Is it possible to share some of these parameters, like the position, velocity, and acceleration, as well as the prf and the samp...

más de 8 años hace | 0

Respondida
Error occured when I try to use matched filter function for my signal
This means that you can not put two phased.MatchedFilter in an array. For example f1 = phased.MatchedFilter; f2 = phased...

más de 8 años hace | 0

Respondida
Compute double sum or double integral throug sum
If the ultimate goal is to compute the integral, you can consider using |integral2| <https://www.mathworks.com/help/matlab/re...

más de 8 años hace | 0

| aceptada

Resuelto


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

más de 8 años hace

Resuelto


Basic electricity in a dry situation
&#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#...

más de 8 años hace

Resuelto


Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

más de 8 años hace

Resuelto


Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

más de 8 años hace

Resuelto


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

más de 8 años hace

Resuelto


Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

más de 8 años hace

Cargar más