Question: Design a Matlab code to graphically represent a time signal of type s (t) = A * sin (b * t) / (b * t)

Design a Matlab code to graphically represent a time signal of type s (t) = A * sin (b * t) / (b * t)

The maximum value of this function max (s (t)) must be 5 volts. The constant b will be 20 kHz.

Juxtapose to the curve for s (t) a horizontal segment at the height max (s (t)) / 2: this segment will cross the curve s (t) at two points H1 and H2.



1) Choose and define an appropriate time domain to accommodate 8 relative maxima of s (t) for t> 0 and 8 relative maxima for t <0.

2) Prepare a clear and eye-pleasing graphical representation for the s (t) function and for the horizontal segment. The graphical instructions are as follows:

* The thickness of the curves must be 2

* The color of the blue curve for s (t) and green for the horizontal segment.

* Fonts for axes and labels 20pt.

* Units of measure must be indicated.

* Export the figure in tiff or jpeg format to include it in the report.

3) Put markers of your choice to accentuate the point of intersection between the curve y = s (t) and the horizontal segment

4) Reproduce in the report the Matlab script that you wrote to generate this figure. Carefully comment out each line of code.

5) Analytically calculate the lim s (t) for t-> 0 (0+ and 0-) and compare this result with the Matlab curve

Aid:

to juxtapose two lines in the Matlab script, use the hold command on

Step by Step Solution

3.44 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

SOLUTION The general solution before initial ... View full answer

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