Question: % 1 . Generate / initilize inputs a 1 , w 1 , p 1 , b , and 1 - d vector t 1

%1. Generate/initilize inputs a1,w1,p1,b, and 1-d vector t1 and t2
a1=8.5;
w1=20*pi;
p1=-2;
b=1.75%test b=2.75 yourself under MATLAB, not here.
% generate t1 for 0t0.5 using increment of 0.01( you can use something like 0.49999 as the up limit so it is less than 0.5)
t1=0:0.01:0.49999;
% generate t1 for 0.5t1.5 using increment of 0.01
t2=0.5:0.01:1.5
%2. Calculate the f(t) for each segement
f1=a1**cos(w1**t1+p1);
f2=?
%3. Display it by drawing it
% concatenating t1 and t2
t=[t1,t2];
% concatenating f1 and f2
f=?
% plot it
figure(1)
plot(t,f);
xlabel('Time (s)');
ylabel('(:f(t)'};
 %1. Generate/initilize inputs a1,w1,p1,b, and 1-d vector t1 and t2 a1=8.5;

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!