I need to compare the nature(i.e envelope) of two graphs/plots whose amplitudes are different but the shape of the graphs is same. please help with a tool-box or some commands.

 Respuesta aceptada

Adam
Adam el 1 de Sept. de 2016

0 votos

Depends how you want to compare them, but you can just normalise both and plot on the same graph if you want to remove the effect of amplitude and look only at shape.
e.g.
normEnv1 = env1 / max( env1 );
normEnv2 = env2 / max( env2 );
figure;
plot( normEnv1 );
hold on
plot( normEnv2 );
This assume the two functions are of the same length and in sync with each other in terms of the sample locations.

Más respuestas (0)

Categorías

Más información sobre Line Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 1 de Sept. de 2016

Comentada:

el 27 de Sept. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by