Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

E1. The following table shows the amount of sale for 7 different years of a company. Write a matlab code using a function to add

image text in transcribed

E1. The following table shows the amount of sale for 7 different years of a company. Write a matlab code using a function to add 20% extra sales if the amount of sales is greater than 150 then plot the result. Consider a title for your plot as "Amount of sales for 7 years. The x axis label should be "Year" and y axis label should be "Sales (M). You may consider two legends in the plot. Consider specifier for this plot which tells the plot () command to create a plot with asterisks at each data point which are connected by a dashed line. The color of the line and the asterisks is red. Year 1988 1989 1990 1991 1992 1993 1994 Sales (M) 127 130 136 145 158 178 211

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

Step: 3

blur-text-image

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

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

1844804526, 978-1844804528

More Books

Students also viewed these Databases questions

Question

I receive useful feedback about my performance.

Answered: 1 week ago

Question

I am encouraged to offer opinions/suggestions.

Answered: 1 week ago