Question: Unit Sample ( Delta Function , Impulse ) [ n ] = { 0 , n 0 1 , n = 0 . MATLAB Script:

Unit Sample (Delta Function, Impulse)
[n]={0,n01,n=0.
MATLAB Script:
8Delta (Unit Sample)Function
t=-5:1:5; %time is sampled
delta=zeros(size(t)); %array of0+s
delta(6)=1; & 6th element is1.
stem(t,delta); 8discrete plot
Init Sten
[n]={1,n0,0,n<0.
MATLAB Script:
8Unit Step Function
t=-10:1:10;
unit=zeros(size(t));
unit(11:end)=1; 8elements 11to21are 1.
stem(t,unit); Sinusoidal Function
[n]=Acos(0n+),for all n,
MATLAB Script:
8Sinusoidal Eunction
t=0:0.01:1;
T=1; %period
f=1T; & frequency
w=2f; %radian frequency
A=2; %amplitude
sinwt=At LAB EXERCISES
Write a MATLAB script to generate a continuous sinusoidal signal of frequency 100Hz
and amplitude 5V between x[n]=n,-1<<0=-0.9-10.-20.
A power signal, x[n]=n,-1<<0,can be generated in MATLAB with power()
function (see help power)and visually depicted as:
Write a MATLAB script to generate a power signal with =-0.9between -10.0.
Write a MATLAB script to generate an exponential function which grows with factor 0.5
between -20.
A power signal, x[n]=n,-1<<0,can be generated in MATLAB with power()
function (see help power)and visually depicted as:
Write a MATLAB script to generate a power signal with =-0.9between -10.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!