Apr 17, 2011 #1 D dmss Newbie level 3 Joined Apr 17, 2011 Messages 3 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,297 how to make a coding for discrete-time periodic signal s = cos ωn ω = 2π/5 i had try this coding but was error n = 0:10 ω = 2*pi/5 s = cos (ω*n); plot (n,s) grid on;
how to make a coding for discrete-time periodic signal s = cos ωn ω = 2π/5 i had try this coding but was error n = 0:10 ω = 2*pi/5 s = cos (ω*n); plot (n,s) grid on;
Apr 17, 2011 #2 pancho_hideboo Advanced Member level 5 Joined Oct 21, 2006 Messages 2,847 Helped 767 Reputation 1,536 Reaction score 733 Trophy points 1,393 Location Real Homeless Activity points 17,490 dmss said: s = cos (ω*n); plot (n,s) grid on; Click to expand... s = cos (ω*n); plot (n, s), grid on;
dmss said: s = cos (ω*n); plot (n,s) grid on; Click to expand... s = cos (ω*n); plot (n, s), grid on;
Apr 17, 2011 #3 D dmss Newbie level 3 Joined Apr 17, 2011 Messages 3 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,297 how about to create a coding for s = A^|n|, |A|<1
Apr 17, 2011 #4 pancho_hideboo Advanced Member level 5 Joined Oct 21, 2006 Messages 2,847 Helped 767 Reputation 1,536 Reaction score 733 Trophy points 1,393 Location Real Homeless Activity points 17,490 dmss said: how about to create a coding for s = A^|n|, |A|<1 Click to expand... n = 0:10; s = A.^abs; Last edited: Apr 18, 2011
dmss said: how about to create a coding for s = A^|n|, |A|<1 Click to expand... n = 0:10; s = A.^abs;
Apr 18, 2011 #5 D dmss Newbie level 3 Joined Apr 17, 2011 Messages 3 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,297 how to declare the funtion of "|A|<1" when i use 0<A<1 it was error
Apr 18, 2011 #6 pancho_hideboo Advanced Member level 5 Joined Oct 21, 2006 Messages 2,847 Helped 767 Reputation 1,536 Reaction score 733 Trophy points 1,393 Location Real Homeless Activity points 17,490 >> A=0.3; >> n=0:10; >> s = A.^abs s = Columns 1 through 8 1.0000 0.3000 0.0900 0.0270 0.0081 0.0024 0.0007 0.0002 Columns 9 through 11 0.0001 0.0000 0.0000 >>
>> A=0.3; >> n=0:10; >> s = A.^abs s = Columns 1 through 8 1.0000 0.3000 0.0900 0.0270 0.0081 0.0024 0.0007 0.0002 Columns 9 through 11 0.0001 0.0000 0.0000 >>