Question: a . Assign 5 to the variable A ( amplitude ) . b . Assign 0 . 3 to the variable T ( period )

a. Assign 5 to the variable A(amplitude).
b. Assign 0.3 to the variable T(period).
c. Calculate the frequency using the following formula and assign to the variable f.)=(1T.
d. Calculate the angular frequency using the formula =2f and assign to variable omega.
e. Create the vector time named t using linspace command with 1001 points in the range from 0 to 1.
f. Create the vector voltage named v using the following equation: v=A**tri(t), where the function sawtooth can be used in MATLAB to represent the triangular waveform.
g. Create the vector named v_mod using the following equation: v?mod ?a=bs(v).
h. Plot voltage (y-axis) against time (x-axis).
i. Add title, x-axis and y-axis labels as follows:
Title: 'Triangular Waveform'
x-axis label: 'Time (seconds)'
y-axis label: 'Voltage (volts)'
 a. Assign 5 to the variable A(amplitude). b. Assign 0.3 to

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!