Answered
blackman window filter design
You can use |fir1|, the second example in the doc is close to what you want http://www.mathworks.com/help/signal/ref/fir1.htm...

13 years ago | 0

Answered
About Kalman Filter Configuration
Very likely you will not be able to use in in R2011a because the new feature could be using new background infrastructure shippe...

13 years ago | 0

Answered
what this error means ...and what i shd do to sort it out????
It looks like you don't have |videoinput| function in your installation. You need to have Image Acquisition Toolbox to have that...

13 years ago | 0

| accepted

Answered
window - sidelobe attenuation level
That's the tradeoff you need to make. There is no free lunch so you just have to find a balance between the two. If you want, yo...

13 years ago | 0

Answered
i want frequency domain spectrum of an audio file but i am not getting right frequency range. it is showing freq. range upto 100 kHz but i want to get it upto 10 kHz. what is the problem in frequency range?
Your |f| is incorrect, assuming the number of elements in |y| is even, it should be N = length(y); f = (-1/2:1/N:1/2-1/N...

13 years ago | 0

| accepted

Answered
FIR Low Pass Filter Response doesn't match the specs provided
What is your sampling frequency? It reads like 6.5 MHz? If that's the case, I'll suggest you to down sample first if you are onl...

13 years ago | 0

Answered
How to used firpm.m function?
That is your frequency vector that contains the boundaries of your pass bands and stop bands. In your example, it means that you...

13 years ago | 0

Answered
how to get plot spectrum for this function of DOA?
Hi Ali, Unlike beamscan or MVDR, ESPRIT is not a spectrum based algorithm. So the result of the algorithm is the angle itself...

13 years ago | 0

Answered
FMCW plot with 5e-6 sweep time
Hi Ali, You can work around this as described in the following bug report. http://www.mathworks.com/support/bugreports/det...

13 years ago | 0

| accepted

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

Load more