(Solved Homework): Type the following code in Matlab and see the results. X = -2 pi: 0.1: pi 2: step heaviside (X): Exp = exp(X): figu…

Type the following code in Matlab and see the results. X = -2 pi: 0.1: pi 2: step heaviside (X): Exp = exp(X): figure (1): subplot (2, 1, 1): plot (X, step): title (‘1)…’): grid minor axis ((-2 pi 2 pi -.5 1, 5)) subplot (2, 1, 2): plot (X, Exp): title (‘2)…): grid minor axis ((-2 pi 2 pi -.5 1.5)) What are these functions’ name? Calculate the energy of the second signal for X > 0. Make some change to make your plot look like the following figure.

x= -2*pi:0.1:2*pi, this means x takes values from the sample in the interval of [-2*pi,2*pi] where sampling inteval is 0.1,

Don't use plagiarized sources. Get Your Custom Essay on
(Solved Homework): Type the following code in Matlab and see the results. X = -2 pi: 0.1: pi 2: step heaviside (X): Exp = exp(X): figu…
Get an essay WRITTEN FOR YOU, Plagiarism free, and by an EXPERT!

so x is a array where values are [-2*pi,-2*pi+0.1,-2*pi+0.2,….,2*pi]

step= heaviside(x)

here step is also an array but its values are funtional value corresponding to x, i,e y = [heaviside(-2*pi),heaviside(-2*pi+0.1),….]

Exp =exp(x)

here step is also an array but its values are funtional value corresponding to x, i,e y = [exp(-2*pi),exp(-2*pi+0.1),….]

Now heaviside(x) = 0 for x < 0, 1 for x > 0, and 1/2 for x = 0.

now exp(x) = e^(x) for all x.

subplot baically divide the plotting window in two part with indexes,

usinhg axis we specify the limit on both plotting axis in thwindow. Like axis [-2*pi 2*pi -0.5 1.5] describes x axis should be range from -2*pi to 2*pi and y axis will range fro -0.5 to 1.5.

now to change the first plot you can put step =heaviside(x-1)

for second plot you can do Exp = exp(-x)

Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:
\$0.00

How it works?

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.