The signals presented here can be used in demonstrating how the signal varies when the operation is made on either independent variable or dependent variable. The parameters can be varied to have a feel of the variation.
Example(1): rect(1,2) plots the rectangular signal of amplitude 1 and a width of 2.
Example(2): rect(1,2,3) plots the rectangular signal with amplitude 1 width 2 and shift of 3.
Example(3):rect(1,2,0,2) plots the rectangular signal amplitude 1 and width of 1 because of the scaling by a factor of 2.
Great work... Keep it up.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.