Question: % 1 . Generate the input - generate time vector using 0 . 0 1 as increment for 0 t 1 2 t = 0

%1. Generate the input - generate time vector using 0.01 as increment for 0t12
t=0:0.01:12;
%2. Do the magic - calulate according to the formula
g=exp(-0.1**t)***sin(t);
%3. Display result - plot the g(t) vs t
figure(1)
plot(t,g);
xlabel('Time (s)');
ylabel('g(t)';
title('g(t) vs (:t'};
 %1. Generate the input - generate time vector using 0.01 as

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 Databases Questions!