Answered
problem about filter order in design tool
The reason for this discrepancy is because Hann window has a trailing zero at the end. And I believe in the info window, it didn...

11 years ago | 1

Answered
Undefined function 'times' for input arguments of type 'struct'
If you are using doppler.jakes, it can only be used with channel object, as explained in the following documentation http://w...

11 years ago | 0

Answered
Problem in plotting Frequency Response
On the fvtool menu bar, you can click Analysis -> Sampling Frequency to specify the sampling rate. fvtool will then scale the f...

11 years ago | 0

Answered
[PhasedArraySystemToolbox] How to apply spectrum window
According to your code, you are comparing the signal you manually applied windowing with the result of matched filter when no wi...

11 years ago | 0

Solved


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

11 years ago

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

11 years ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

11 years ago

Solved


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

11 years ago

Answered
FFT and IFFT: Change the values of complex number
Most likely you didn't maintain the symmetry when you setting this to zero. It would be helpful if you show the snippet where yo...

11 years ago | 0

Answered
[PhasedArrayToolbox] Why the graph doesn't reach the amplitude value?
Are you expecting it to be just like the first sample. If so, the waveform samples one period of pulse and it starts at time 0. ...

11 years ago | 0

| accepted

Answered
How to find integral under the noise power spectrum
That's one way to do it, just make sure you also multiply the sum with the width of each bin. Alternatively, you can also use...

11 years ago | 1

Answered
Trajectory generation for robot
The following example may be helpful http://cn.mathworks.com/help/robotics/examples/path-planning-in-environments-of-differen...

11 years ago | 0

Answered
[PhasedArrayToolbox] IsotropicAntenna directivity issue
Hi Vitaly, You are right that the theoretical vale is 0 dBi. The directivity computation in this case is done using numerica...

11 years ago | 1

| accepted

Answered
Where the parameters inside a simulink example are defined?
You may be able to find relevant information in the PreLoadFcn or InitFcn callbacks. you can access callbacks following the dire...

11 years ago | 0

Answered
Patch antenna modelling using phased.CustomAntennaElement object in phased array toolbox
Hi Frederick, The phased.CustomAntennaElement is not a physical modeling tool for Antenna. Its purpose is to model the measur...

11 years ago | 0

| accepted

Answered
Merge multiple functions+scripts in single file
You can only declare subfunctions within a function so unless you are willing to rewrite your scripts into functions, you may no...

11 years ago | 0

Answered
Radio buttons in GUI
You may want to use button groups http://www.mathworks.com/help/techdoc/ref/uibuttongroup.html

11 years ago | 0

| accepted

Answered
understanding how resp in phased.CustomAntennaElement works
Hi Philip, When you pass in |ang = [0 180]|, it is considered as two angles, az = 0 and az = 180. if you pass in |ang = [0;18...

11 years ago | 0

| accepted

Answered
How to a use a User-Defined window function in the fdatool?
You just need to write a function to output that window. Then in fdatool, you can choose FIR, then set it to Window, and in t...

11 years ago | 0

Answered
How to use spectrum analyzer object to show a signal waveform ?
Its purpose is to show signal's spectrum fs = 1000; x = sin(2*pi*200*(0:1999)'/fs); hsb = dsp.SpectrumAnalyzer(...

11 years ago | 0

| accepted

Answered
using plotResponse with ELANG
Hi Philip, You need to set H.ElevationAngleSource = 'Input port' and then run plotResponse(H,X,30) HTH

11 years ago | 0

Answered
how to use ha.coefficients for a filter?
It's an adaptive filter so the coefficients changes at every step. The Coefficients only contains the initial coefficients. In a...

11 years ago | 1

Answered
Time-domain data to Frequency-domain data Questions
FFT is just an operation on the data, whether it's time domain or frequency domain is an interpretation of the data. So what you...

11 years ago | 0

Answered
Matched filter in function matlab simulink
Here is an example: x = ones(10,1); mf = phased.MatchedFilter('CoefficientsSource','Input port'); y = step(mf,x,conj(...

11 years ago | 0

Answered
How to look inside class based functions under Phased Array ToolBox?
You can type edit phased.TimeDelayBeamformer to see the source code. The code is a System object, but if you are only in...

11 years ago | 2

Answered
Doubt about xcorr function
You may want to use the 'unbiased' option in xcorr so the normalization is on the number of points used to compute the correlati...

11 years ago | 1

| accepted

Answered
C++ Code Generation Fails
What release are you using? The support varies from release to release. In the latest release, all these functions are supported...

11 years ago | 1

Answered
Bandwidth in Wideband Collector
The bandwidth in this case is derived from sample rate. When you specify a carrier frequency, fc, and a sample rate, fs, the ban...

11 years ago | 3

| accepted

Answered
How to compare a matrix rows such as:
B = sort(A,2); A(ismember(B(:,3:end),1:8,'rows'),:)

11 years ago | 0

Answered
Help with H(z) response function
conv(([2/3 2/5 4/7]+[4/3 8/5 3/7]),[3 2 4])

11 years ago | 0

Load more