Professional Documents
Culture Documents
Digital Signal Processing Labwork Name: Adeel Mustafa Reg. No. EE-01083-114 Sec. B Lab 1
Digital Signal Processing Labwork Name: Adeel Mustafa Reg. No. EE-01083-114 Sec. B Lab 1
Digital Signal Processing Labwork Name: Adeel Mustafa Reg. No. EE-01083-114 Sec. B Lab 1
B Lab 1
Lab 1 Q.1. y( t)
0t10
0.1 increament
Q.2. ( )
t1=3:10; t2=-6:1; z1=t1; z2=(1/3).*t2; plot(t1,z1) hold Current plot held plot(t2,z2)
Stem: A two-dimensional stem plot displays data as lines extending from a baseline along the x-axis. A circle (the default) or other marker whose y-position represents the data value terminates each stem. Hold: The hold function determines whether new graphics objects are added to the graph or replace objects in the graph. hold toggles the NextPlot property between the add and replace states.