Question of peak amplitude measuring

1 visualización (últimos 30 días)
geo
geo el 18 de Oct. de 2012
Hello,
Please Can anybody help me with any method in matlab simulink to accurate measure of peak amplitude of sine wave as continuing value along of simulation time. the amplitude of the sine wave is change along of simulation time also.
Thanks in advance for any help
George

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 18 de Oct. de 2012
Editada: Azzi Abdelmalek el 18 de Oct. de 2012
You must specify in wich interval, because at a time t=t1 we don't know if the signal will continu to increase or will decrease. If your sin wave is generated by smulink block, then it will be possible.
  3 comentarios
K E
K E el 18 de Oct. de 2012
Editada: K E el 18 de Oct. de 2012
If the period of the sine wave stays the same throughout the simulation (period = 2X time between zero crossings), then you can find the amplitude as the max value within a running window of length equal to the sine's period. If you have an irregular cycle which is not a true sine wave (period changes during the simulation too), then it will be more challenging, for example requiring the wavelet analysis that your question is tagged with.
Azzi Abdelmalek
Azzi Abdelmalek el 18 de Oct. de 2012
From your last comment, you are generating a sine wave signal, then you know in advance what is the peak of your signal and the corresponding time, then why are you looking for a block to do it?

Iniciar sesión para comentar.

Categorías

Más información sobre Continuous Wavelet Transforms en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by