Sum of two signal which have differents data rate
Mostrar comentarios más antiguos
I have two source with different sample times. I have to sum up them in the channel. When I run the simulation the following message appear on the board: "_Warning: Inconsistent sample times. Sample time ([0.0005, 0]) of signal driving input port 2 of 'channels_48_vs_48/Error Rate Calculation' differs from the expected sample time ([0.001, 0]) at this input port._"
How can I properly sum up two signal - frame based - with different sample times?
Respuestas (4)
A rate transition should work. Sometimes Simulink will implement these automatically, but it is best practice to explicitly implement them anytime the rates change.
Azzi Abdelmalek
el 16 de En. de 2013
0 votos
You can interpolate the two signals
Jean-Marie KERLOCH
el 21 de En. de 2013
0 votos
Hello,
I have the same issue. I want to estimate the perturbation caused by a system to another system. I've created the two signals (coding / modulation , ...) but they have two different samples rates determinated by the system parameters.
I guess the addition of the two signals must be made at the sample time of the fastest signal ? In that case, the only solution is to interpolate the signals ?
And what is the impact of an interpolation for the useful signal ?
Thanks in advance
Categorías
Más información sobre Signal Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!