Solved


Counting pulses in a signal
Count the number of pulses that are the result of summing each pulse generator block. Pulse Generator blocks produce a recurr...

10 years ago

Solved


Add damping to a mass spring system
Model an ideal mass-spring-damper system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/im...

10 years ago

Solved


Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

10 years ago

Solved


Make a half wave rectifier
Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...

10 years ago

Solved


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

10 years ago

Solved


Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

10 years ago

Solved


Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

10 years ago

Solved


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

10 years ago

Solved


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

10 years ago

Answered
When a rectangular array is designed using Arbitrary array geometry, it does not give beam pattern as rectangular array using direct option in phased array system toolbox, sensor Array Analyzer
Did you define the normal direction too? When you make z axis 0, I assume you want all elements to point to z direction? if so, ...

10 years ago | 0

Answered
How to get xcorr results in coef between 0 and 1 when comparing 2 wave sound with different length ?
You can try xcorr(soundA,soundB,'coeff') HTH

10 years ago | 0

Answered
How to calculate the circular correlation with 2 sequences/arrays in Matlab?
You can use ifft(fft(a,5).*conj(fft(b,5))) or cconv(a,b([1 end:-1:2]),5) HTH

10 years ago | 0

Answered
measure the difference between two signal ?
For this kind of task you may want to look into dynamic time warping https://en.wikipedia.org/wiki/Dynamic_time_warping Th...

10 years ago | 0

| accepted

Answered
Filtering signals with non-uniform sampling rate (staggered PRF)
The idea is that the total filter response is the combination of the two individual pulse cancellers. The equation actually plot...

10 years ago | 0

Answered
Remove line between first and last point on plot
Are you sure your last point and first point are not the same? If they are, simply do plot(time(1:end-1),avg(1:end-1))

10 years ago | 0

Answered
How to replicate results as fvtool
Are you referring to the difference in null? If so, that's because the fvtool by default uses 8192 points. If you do freqz...

10 years ago | 0

Answered
Simulink Implementation of Kalman Filter
There is a Kalman filter block shipped with DSP System Toolbox, does it work for you? http://www.mathworks.com/help/dsp/ref/k...

10 years ago | 0

Answered
Phased Array Toolbox: Target's reflection Phase information alters across range-bin border. Why ?
I believe this is due to some discontinuity in the dechirped signal. For example, when the signal is at first range bin, then th...

10 years ago | 0

Answered
hw = phased.FMCWWaveform('SweepBandwidth',1e5,... 'OutputFormat','Sweeps','NumSweeps',2); plot(hw);
The 'NumSweep' property is used control the output of step() method, not for the ploting. If you want to see multiple sweeps, or...

10 years ago | 0

Answered
How to plot harmonic components of a sine wave
You can use |thd| for this, although it's not in the bar plot. But once you have the information, you can plot it yourself. h...

11 years ago | 0

Answered
Is there an (upper) operational frequency limit in the Antenna Toolbox or Phased Array System Toolbox?
There is no upper limit for what Phased Array System Toolbox and Antenna Toolbox can model. However, it's worth noting that the ...

11 years ago | 1

Answered
How can we plot the response of Phased.Radiator excited by given input ?
Not sure if I understand your question correctly but let's say you have an antenna array defined as ant = phased.ULA(4,0.5)...

11 years ago | 0

Answered
How antenna array factor is related to FFT of antenna weights
FFT is simply a computation tool, you can interpret the result based on your application. Using your ULA as an example, the phas...

11 years ago | 0

Answered
step method of phased.URA: where is my phaseshift?!
The return you see is the response of each element at the specified degree. There is no phase shift between them. If you want to...

11 years ago | 0

Answered
psd vs pwelch in matlab
You should use |pwelch|. In R2009b, psd is deprecated because the resulting power spectral density is not properly normalized. T...

11 years ago | 0

Answered
Is the radiating angle of phased.Radiator specifies the beam boresight angle ? What if the weights in phased.Radiator speifies weights to point beam to some other direction ? Can we see the output pattern of the phased.Radiator ?
You are right that the weights determines the steered beam direction, but the signal arrives at the target may not always come f...

11 years ago | 0

| accepted

Answered
microphone plot response documentation results different from execution results
The documentation is not up to date. Thanks for catching that. The plot is now counter clockwise so the positive angles are abov...

11 years ago | 0

Answered
Performance study of MIMO - OFDM
The following example may be helpful http://www.mathworks.com/help/phased/examples/beamforming-for-mimo-ofdm-systems.html

11 years ago | 0

Answered
XCORR: How to find the location of the highest correlation on the actual data using XCORR
If you just need the highest peak location, you can simply use |max| [~,idx] = max(y1) HTH

11 years ago | 0

Load more