Jun 26, 2011 #1 S sayfee Junior Member level 1 Joined Apr 22, 2011 Messages 19 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,283 Activity points 1,389 say i have signal a=[1 1 2 3 1 2 3]; i want to plot the envelope of this signal, how to do that in matlab? thank you in advance.
say i have signal a=[1 1 2 3 1 2 3]; i want to plot the envelope of this signal, how to do that in matlab? thank you in advance.
Jun 26, 2011 #2 _Eduardo_ Full Member level 5 Joined Aug 31, 2009 Messages 295 Helped 118 Reputation 238 Reaction score 103 Trophy points 1,323 Location Argentina Activity points 2,909 These are few points to graph a good envelope. For a general case use the Hilbert transform. ht = hilbert(a) ; plot(abs(ht))
These are few points to graph a good envelope. For a general case use the Hilbert transform. ht = hilbert(a) ; plot(abs(ht))
Jun 27, 2011 #3 S sayfee Junior Member level 1 Joined Apr 22, 2011 Messages 19 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,283 Activity points 1,389 _Eduardo_ said: These are few points to graph a good envelope. For a general case use the Hilbert transform. ht = hilbert(a) ; plot(abs(ht)) Click to expand... the envelope isnt following the massage..can u suggest me another code which follows accurately ?? thank you for your reply
_Eduardo_ said: These are few points to graph a good envelope. For a general case use the Hilbert transform. ht = hilbert(a) ; plot(abs(ht)) Click to expand... the envelope isnt following the massage..can u suggest me another code which follows accurately ?? thank you for your reply
Jun 27, 2011 #4 _Eduardo_ Full Member level 5 Joined Aug 31, 2009 Messages 295 Helped 118 Reputation 238 Reaction score 103 Trophy points 1,323 Location Argentina Activity points 2,909 But what is the definition of envelope you use?. When you have a few points is not as intuitive as it is in a typical AM signal The general definition is the modulus of the analytic signal, which is the value returned by the function hilbert ()
But what is the definition of envelope you use?. When you have a few points is not as intuitive as it is in a typical AM signal The general definition is the modulus of the analytic signal, which is the value returned by the function hilbert ()
Jun 27, 2011 #5 S sayfee Junior Member level 1 Joined Apr 22, 2011 Messages 19 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,283 Activity points 1,389 ok i need something like this: i draw the picture so the lines are not strait.
Jun 28, 2011 #6 S sayfee Junior Member level 1 Joined Apr 22, 2011 Messages 19 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,283 Activity points 1,389 the problem is sloved, all i have to do is plot(a),hold on stem(a) thank you sir for your cooperation
the problem is sloved, all i have to do is plot(a),hold on stem(a) thank you sir for your cooperation