Programs to generate ramp sequence and hence to plot and shift this sequence by k samples towards right

Write MATLAB Programs (i)  to generate ramp sequence and hence to plot    and  shift this  sequence by k samples towards right

Editor

n=-6:8;
y=-2*((n>=0).*n);
subplot(2,1,1)
stem(n,y);
k=2;
n1=n+k;
subplot(2,1,2)
stem(n1,y);


SHARE

Rishabh Chatterjee

Hi. I’m Engineering Student. I’m YouTuber. I’m Trying to find my passion.Sharing my life experiences with the world.

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

Featured post

BENGALURU TO KANNUR

Welcome to Part 1 Of My Bengaluru To Kannur Trip.After almost 6 months finally im going on a road trip.I Hope you all enjoy this video.