Respondida
Communication Toolbox for students
http://www.mathworks.com/academia/student_version/companion.html According to the page, you can add it to your student versio...

alrededor de 13 años hace | 1

Respondida
how to interchange array elements
Not sure if this is what you are looking for, but here is one way to do it, as long as you know the order y = x([5 2 3 4 1]...

alrededor de 13 años hace | 0

Respondida
Converting between datestr and datenum - what am I doing wrong?
To use |datenum| using the string form, it has to satisfy certain format. Yours is not one of them. If you change your start dat...

alrededor de 13 años hace | 0

Respondida
Problem Matched Filtering in Matlab.
This is because you are using an older version of Phased Array System Toolbox. Technically, you just need to replace the followi...

alrededor de 13 años hace | 0

| aceptada

Respondida
Why are sine and cosine values inaccurate?
Those are floating point errors. If you want exact zeros, you can use sind/cosd, although they are slower sind(180) cosd...

alrededor de 13 años hace | 1

| aceptada

Respondida
How can I use the step function for the swerling models with the UPDATERCS?
Hi Mehmet, When you turn on Swerling mode in a radar target, you need to manage when to update the RCS in your simulation by ...

alrededor de 13 años hace | 1

| aceptada

Respondida
Beamforming with 4x4 Microphone Array
Not sure what the dimension is for your variable heart and A, but x = A([sig_idx(1) sig_idx(end)]); seems to suggest tha...

alrededor de 13 años hace | 0

Respondida
Linear Spatial Filtering , How to create the filter?
I assume you want a 5x5 Gaussian filter? Otherwise, if you set the above equation with x,y=5 and sigma = 1, it's just a number, ...

alrededor de 13 años hace | 0

Respondida
how to convert discrete data to continuous data?
You need to specify the sample time in |ss|, something like ss(A,B,C,D,Ts)

alrededor de 13 años hace | 1

Respondida
Read txt files from the folder one by one in for loop?
You can take a look at |dir| command doc dir For example, d = dir(pwd) returns a structure d, holding informatio...

alrededor de 13 años hace | 0

Respondida
Defining particular values of a function
Since you are comparing the number, it should be n==1

alrededor de 13 años hace | 0

| aceptada

Respondida
Can anyone please clarify "what's the difference when a matrix is declared as zerosfrom ones"?
zeros is recommended to be used for preallocation purpose. Below is the link to the documentation. See the section Preallocating...

alrededor de 13 años hace | 0

Respondida
How to normalize the data?
If I understand you correctly, say your data is x, you basically want 10*log10(x/max(x)) However, it also looks like you...

alrededor de 13 años hace | 1

Respondida
how to draw horizontal radiation pattern?
You can use Phased Array System Toolbox to do this. There are some examples in the documentation if you haven't seen it yet h...

alrededor de 13 años hace | 0

| aceptada

Respondida
Ambiguity Function of FMCW waveform
You could technically do it the same way, e.g. hw = phased.FMCWWaveform('SweepBandwidth',1e7,'SampleRate',2e7,... 'S...

alrededor de 13 años hace | 0

| aceptada

Respondida
Phase plot for a simple digital filter looks wrong
Hi Ted, In your equation, it should be b = [0 1.28] HTH

alrededor de 13 años hace | 0

| aceptada

Respondida
'mtimes' error and how to fix it
Your F function requires an input, so you need to call it with an input, such as F(3)

alrededor de 13 años hace | 0

Respondida
Normalize histogram of normally distributed data
You just need to normalize it toward the number of points x = randn(1024,1) [n,b] = hist(x) bar(b,n/sum(n))

alrededor de 13 años hace | 1

Respondida
How do I stop a function from displaying output matrix without using semicolon in command window?
Try using function varargout = instead of function newimg =

alrededor de 13 años hace | 0

| aceptada

Respondida
How to concatenate cells?
I think you just need to do for i=1:1150 xx{i}=[xxp{i}; xxq{i}]; end Alternatively, you can do xx = ce...

alrededor de 13 años hace | 0

Respondida
Operations on portions of matrices to the end of the matrices.
Why not just use a for loop? Let's say your K is 12 rows, so Niteration = 12/4; K_structure = zeros(size(Beta,2)); ...

alrededor de 13 años hace | 0

Respondida
Triangular wave form Up and Down sweep problem??
The beat frequency computed from upsweep and downsweep are meant to be different. It is that difference help you resolve the ran...

alrededor de 13 años hace | 0

| aceptada

Respondida
How does MATLAB pick colors from Colormap?
You can see the order of color by doing get(gca,'ColorOrder')

alrededor de 13 años hace | 0

Respondida
Acoustic Beamforming Using a Rectangular Microphone Array
The error is because you are adding noise to the angle. I believe it's a typo. That line should just reads like this temp...

alrededor de 13 años hace | 1

| aceptada

Respondida
Automotive Adaptive Cruise Control Using FMCW Technology using Triangular sweep
Hi Ali, I assume you are simply running the script for that demo. You are right that during the one triangle period consists ...

alrededor de 13 años hace | 0

| aceptada

Respondida
Undefined function 'tf' for input arguments of type 'char'.
Do you have Control System Toolbox? What is the out put of the following command? >> ver

alrededor de 13 años hace | 3

Respondida
Trying to make loop works.
Because you never update Y in your first loop so it keeps going down. You need to update Y value in the loop, for example Y...

alrededor de 13 años hace | 1

Respondida
Bug, feature, or misuse? Issue with map container
Here is an example h1 = containers.Map({'X','Y'},{'X','Y'}) h2 = containers.Map(h1.keys,h1.values) h2('Z') = 'Z' h...

alrededor de 13 años hace | 0

Respondida
how to have character replacement
Sounds like a sequencing problem. You can do it like this x = '11000100'; idx = bin2dec(reshape(x,2,[]).')+1; matchse...

alrededor de 13 años hace | 0

Respondida
How to get the filter coefficients in the double format.
Do you want to simply display or you want the coefficients themselves? If you want only the display, then Walter's solution abov...

alrededor de 13 años hace | 0

Cargar más