[PhasedArrayToolbox] Why the graph doesn't reach the amplitude value?

1 view (last 30 days)
Hello! I'd like to understand why the gaph doesn't reach the amplitude value, and just stops at (100, 0.8), not at (100, 1).
hw = phased.LinearFMWaveform('PulseWidth',1e-4,'PRF',1e4);
x = step(hw);
plot(real(x))

Accepted Answer

Honglei Chen
Honglei Chen on 30 Mar 2015
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. So the last point is the end of the first pulse, not the start of the second pulse, that's why it's not at 1. HTH

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!