Borrar filtros
Borrar filtros

Is the comm.Raise​dCosineTra​nsmitFilte​r stateful?

3 visualizaciones (últimos 30 días)
Michael Schwager
Michael Schwager el 17 de Mayo de 2017
Comentada: Mason Huynh el 6 de Ag. de 2021
When I reuse an instance of comm.RaisedCosineTransmitFilter multiple times with the same vector, I get several different results until it stabilizes.
If I use a new instance each time, the result is the same. So it looks like the filter object is stateful, which I suppose makes sense, but I guess I expected the impulse definition to be essentially just a declaration of coefficients, not necessarily the state variable.
The first few times you run the below lines with the 4-long impulse vector, you get a different plot, and on ones with a 3-long impulse vector, the first time you run it, the plot is 8 samples shorter than the previous one, as I would expect, but subsequently running it several more times, the plot changes shape.
K>> rctFilt=comm.RaisedCosineTransmitFilter()
rctFilt =
comm.RaisedCosineTransmitFilter with properties:
Shape: 'Square root'
RolloffFactor: 0.2000
FilterSpanInSymbols: 10
OutputSamplesPerSymbol: 8
Gain: 1
K>> clf;plot(real(step(rctFilt, [1 0 0 0]')));xlim([0 32])
K>> clf;plot(real(step(rctFilt, [1 0 0 0]')));xlim([0 32])
K>> clf;plot(real(step(rctFilt, [1 0 0 0]')));xlim([0 32])
K>> clf;plot(real(step(rctFilt, [1 0 0 0]')));xlim([0 32])
K>> clf;plot(real(step(rctFilt, [1 0 0 ]')));xlim([0 32])
K>> clf;plot(real(step(rctFilt, [1 0 0 ]')));xlim([0 32])
K>> clf;plot(real(step(rctFilt, [1 0 0 ]')));xlim([0 32])
I'm just trying to figure out how the transmit filter differs from the receive filter.
  1 comentario
Mason Huynh
Mason Huynh el 6 de Ag. de 2021
I see exactly the same issue, which seems unreasonable as Raised Cosine Transmit Filter is a filter, and the output of each instance should not depend on previous instances.

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by