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

13 years ago | 1

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

| accepted

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

13 years ago | 1

| accepted

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

13 years ago | 1

| accepted

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 1

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

13 years ago | 0

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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 1

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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 1

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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 1

| accepted

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

13 years ago | 0

| accepted

Answered
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

13 years ago | 3

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

13 years ago | 1

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

Load more