comparing plots with matlab

8 ビュー (過去 30 日間)
Princy Manaswini
Princy Manaswini 2016 年 9 月 1 日
コメント済み: Princy Manaswini 2016 年 9 月 27 日
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.

採用された回答

Adam
Adam 2016 年 9 月 1 日
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.
  1 件のコメント
Princy Manaswini
Princy Manaswini 2016 年 9 月 27 日
thanku..

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by