Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started