Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q-1 plot the function y(x) = 2e^-0.2x for range 0

Q-1

plot the function y(x) = 2e^-0.2x for range 0<=x<=10

Q-2 Create the arrays

x = [0:360]; y = sin(x*pi/180);

Plot y against x, with a blue line where y is positive, and a red line where y is negative.

Now create another variable z equal to the cosine of x (N.B. you will need to convert x from degrees to radians as in the definition of y above).

Add a plot of z against x as a cyan line...and overplot circles where both sine and cosine are negative.

Can you solve this two in MATLAB? Thank you

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

More Books

Students also viewed these Databases questions

Question

give a definition of quantitative job demands;

Answered: 1 week ago